2015-08-04 10:03:44 -04:00
|
|
|
{{!
|
2015-08-05 07:45:16 -04:00
|
|
|
postform.mustache -- the form for posting
|
|
|
|
|
|
|
|
|
|
template parameters:
|
2015-08-04 10:03:44 -04: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 )
|
|
|
|
|
}}
|
|
|
|
|
<form action="{{post_url}}" enctype="multipart/form-data" name="post" method="post">
|
|
|
|
|
<input type="hidden" name="reference" value="{{reference}}" />
|
2015-08-06 10:30:54 -04:00
|
|
|
<div id="postform-outer">
|
|
|
|
|
<div id="postform-inner">
|
|
|
|
|
<table class="postform">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Name
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="text" name="name" value="" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Subject
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="text" name="subject" value="" />
|
|
|
|
|
<input type="submit" value="{{button}}" class="button" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Comment
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
<textarea type="text" name="message" cols=40 rows=5></textarea>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
File
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="file" name="attachment" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Captcha
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
2015-08-08 13:19:31 -04:00
|
|
|
<img id="captcha_img" src="{{prefix}}captcha/img" alt="captcha" />
|
2015-08-06 10:30:54 -04:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Solution
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
2015-08-08 14:21:40 -04:00
|
|
|
<input type="text" name="captcha" />
|
2015-08-06 10:30:54 -04:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2015-08-04 10:03:44 -04:00
|
|
|
</form>
|
2015-08-06 10:30:54 -04:00
|
|
|
|