summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/mod/edit_post_form.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/mod/edit_post_form.html b/templates/mod/edit_post_form.html
new file mode 100644
index 00000000..22fa40cb
--- /dev/null
+++ b/templates/mod/edit_post_form.html
@@ -0,0 +1,39 @@
+<form action="" method="post">
+ <input type="hidden" name="token" value="{{ token }}">
+
+ <table>
+ <tr>
+ <th>
+ {% trans %}Name{% endtrans %}
+ </th>
+ <td>
+ <input type="text" name="name" size="25" maxlength="35" autocomplete="off" value="{{ post.name }}">
+ </td>
+ </tr>
+ <tr>
+ <th>
+ {% trans %}Email{% endtrans %}
+ </th>
+ <td>
+ <input type="text" name="email" size="25" maxlength="40" autocomplete="off" value="{{ post.email }}">
+ </td>
+ </tr>
+ <tr>
+ <th>
+ {% trans %}Subject{% endtrans %}
+ </th>
+ <td>
+ <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 %}">
+ </td>
+ </tr>
+ <tr>
+ <th>
+ {% trans %}Comment{% endtrans %}
+ </th>
+ <td>
+ <textarea name="body" id="body" rows="5" cols="35">{{ post.body_nomarkup }}</textarea>
+ </td>
+ </tr>
+ </table>
+</form>