2015-08-04 19:03:44 +05:00
|
|
|
{{!
|
2015-08-05 16:45:16 +05:00
|
|
|
postform.mustache -- the form for posting
|
|
|
|
|
|
|
|
template parameters:
|
2015-08-04 19:03:44 +05:00
|
|
|
- post_url ( the url of the post form )
|
|
|
|
- reference ( the post we are replying to, or empty string if it's an op )
|
|
|
|
- button ( the text for the reply button )
|
2016-02-01 21:06:01 +05:00
|
|
|
- files ( bool, do we allow attachments ? )
|
2016-02-22 02:51:56 +05:00
|
|
|
- csrf ( csrf token )
|
2015-08-04 19:03:44 +05:00
|
|
|
}}
|
|
|
|
<form action="{{post_url}}" enctype="multipart/form-data" name="post" method="post">
|
2016-02-22 02:51:56 +05:00
|
|
|
{{{csrf}}}
|
2015-08-04 19:03:44 +05:00
|
|
|
<input type="hidden" name="reference" value="{{reference}}" />
|
2015-08-06 19:30:54 +05:00
|
|
|
<div id="postform-outer">
|
|
|
|
<div id="postform-inner">
|
|
|
|
<table class="postform">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{name}}{{/i18n.Translations}}
|
2015-08-06 19:30:54 +05:00
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="name" value="" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{subject}}{{/i18n.Translations}}
|
2015-08-06 19:30:54 +05:00
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="subject" value="" />
|
|
|
|
<input type="submit" value="{{button}}" class="button" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{comment}}{{/i18n.Translations}}
|
2015-08-06 19:30:54 +05:00
|
|
|
</th>
|
|
|
|
<td>
|
2015-11-08 03:20:32 +05:00
|
|
|
<textarea id="postform_message" name="message" cols=40 rows=5></textarea>
|
2015-08-06 19:30:54 +05:00
|
|
|
</td>
|
|
|
|
</tr>
|
2016-02-01 21:06:01 +05:00
|
|
|
{{#files}}
|
2016-02-29 18:14:19 +05:00
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
{{#i18n.Translations}}{{file}}{{/i18n.Translations}}
|
|
|
|
</th>
|
|
|
|
<td>
|
2016-02-29 18:35:26 +05:00
|
|
|
<input class="postform_attachment" id="postform_attachments" type="file" name="attachment_uploaded" multiple />
|
2015-08-06 19:30:54 +05:00
|
|
|
</td>
|
|
|
|
</tr>
|
2016-02-01 21:06:01 +05:00
|
|
|
{{/files}}
|
2015-11-09 23:59:54 +05:00
|
|
|
<tr>
|
2016-02-01 21:06:01 +05:00
|
|
|
<th>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{dubs}}{{/i18n.Translations}}
|
2015-11-09 23:59:54 +05:00
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" name="dubs" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
2015-08-06 19:30:54 +05:00
|
|
|
<tr>
|
|
|
|
<th>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{captcha}}{{/i18n.Translations}}
|
2015-08-06 19:30:54 +05:00
|
|
|
</th>
|
|
|
|
<td>
|
2015-08-08 22:19:31 +05:00
|
|
|
<img id="captcha_img" src="{{prefix}}captcha/img" alt="captcha" />
|
2015-08-06 19:30:54 +05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{solution}}{{/i18n.Translations}}
|
2015-08-06 19:30:54 +05:00
|
|
|
</th>
|
|
|
|
<td>
|
2016-02-20 15:16:54 +05:00
|
|
|
<input type="text" name="captcha" autocomplete="off" />
|
2015-08-06 19:30:54 +05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-04 19:03:44 +05:00
|
|
|
</form>
|
2015-11-08 03:20:32 +05:00
|
|
|
|