about summary refs log tree commit diff
path: root/templates/thread.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/thread.html b/templates/thread.html
index e841668bfe41..e26d4bcc613e 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -8,7 +8,19 @@
 
     <p>{{ thread.body }}<br><i>Posted at {{ thread.posted }}</i></p>
     {% for post in posts -%}
-      <li>{{ post.body }}<br><i>Posted at {{ post.posted }}</i></p>
+    <li>{{ post.body }}<br><i>Posted at {{ post.posted }}</i></li>
     {%- endfor %}
+
+    <hr>
+    <form action="/thread/reply" method="post">
+      <input type="hidden" id="thread_id" name="thread_id" value="{{ thread.id }}">
+      <div>
+        <label for="body">Content:</label>
+        <textarea id="body" name="body"></textarea>
+      </div>
+      <div>
+        <input type="submit" value="Reply">
+      </div>
+    </form>
   </body>
 </html>