leftypol_vichan/templates/mod/edit_post_form.html

40 lines
1004 B
HTML
Raw Normal View History

2013-01-23 17:16:09 +00:00
<form action="" method="post">
<input type="hidden" name="token" value="{{ token }}">
2013-01-08 03:35:22 +00:00
<table>
2013-01-08 06:52:13 +00:00
<tr>
2013-01-08 03:35:22 +00:00
<th>
{% trans %}Name{% endtrans %}
</th>
<td>
2013-01-23 17:16:09 +00:00
<input type="text" name="name" size="25" maxlength="35" autocomplete="off" value="{{ post.name }}">
2013-01-08 03:35:22 +00:00
</td>
2013-01-08 06:52:13 +00:00
</tr>
<tr>
2013-01-08 03:35:22 +00:00
<th>
{% trans %}Email{% endtrans %}
</th>
<td>
2013-01-23 17:16:09 +00:00
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" value="{{ post.email }}">
2013-01-08 03:35:22 +00:00
</td>
2013-01-08 06:52:13 +00:00
</tr>
2013-01-08 03:35:22 +00:00
<tr>
<th>
{% trans %}Subject{% endtrans %}
</th>
<td>
2013-01-23 17:16:09 +00:00
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" value="{{ post.subject }}">
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% trans %}Update{% endtrans %}">
2013-01-08 03:35:22 +00:00
</td>
</tr>
<tr>
<th>
{% trans %}Comment{% endtrans %}
</th>
<td>
2013-01-23 17:16:09 +00:00
<textarea name="body" id="body" rows="5" cols="35">{{ post.body_nomarkup }}</textarea>
2013-01-08 03:35:22 +00:00
</td>
</tr>
</table>
</form>