2013-01-23 12:16:09 -05:00
|
|
|
<form action="" method="post">
|
|
|
|
<input type="hidden" name="token" value="{{ token }}">
|
|
|
|
|
2013-01-07 22:35:22 -05:00
|
|
|
<table>
|
2013-01-08 01:52:13 -05:00
|
|
|
<tr>
|
2013-01-07 22:35:22 -05:00
|
|
|
<th>
|
|
|
|
{% trans %}Name{% endtrans %}
|
|
|
|
</th>
|
|
|
|
<td>
|
2013-01-23 12:16:09 -05:00
|
|
|
<input type="text" name="name" size="25" maxlength="35" autocomplete="off" value="{{ post.name }}">
|
2013-01-07 22:35:22 -05:00
|
|
|
</td>
|
2013-01-08 01:52:13 -05:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-01-07 22:35:22 -05:00
|
|
|
<th>
|
|
|
|
{% trans %}Email{% endtrans %}
|
|
|
|
</th>
|
|
|
|
<td>
|
2013-01-23 12:16:09 -05:00
|
|
|
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" value="{{ post.email }}">
|
2013-01-07 22:35:22 -05:00
|
|
|
</td>
|
2013-01-08 01:52:13 -05:00
|
|
|
</tr>
|
2013-01-07 22:35:22 -05:00
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
{% trans %}Subject{% endtrans %}
|
|
|
|
</th>
|
|
|
|
<td>
|
2017-04-17 16:15:45 -04:00
|
|
|
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" value="{{ post.subject|e }}">
|
2013-01-23 12:16:09 -05:00
|
|
|
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% trans %}Update{% endtrans %}">
|
2013-01-07 22:35:22 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
{% trans %}Comment{% endtrans %}
|
|
|
|
</th>
|
|
|
|
<td>
|
2013-08-01 17:18:10 -04:00
|
|
|
<textarea name="body" id="body" rows="8" cols="35">{% if raw %}{{ post.body }}{% else %}{{ post.body_nomarkup }}{% endif %}</textarea>
|
2013-01-07 22:35:22 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2013-01-24 03:16:25 -05:00
|
|
|
<p style="text-align:center">
|
|
|
|
{% if raw %}
|
|
|
|
{% trans %}Currently editing raw HTML.{% endtrans %}
|
|
|
|
<a href="?/{{ board }}/edit/{{ post.id }}">{% trans %}Edit markup instead?{% endtrans %}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="?/{{ board }}/edit_raw/{{ post.id }}">{% trans %}Edit raw HTML instead?{% endtrans %}</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
2013-01-07 22:35:22 -05:00
|
|
|
</form>
|