summaryrefslogtreecommitdiff
path: root/templates/article.html
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-15 00:11:54 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-15 00:11:54 +0100
commitcf2b6c8b3e50e4d68c6bc7f0abdb820882e1d741 (patch)
tree51e2f99e2c207c43f472bf5a6f2a42e8b59991d3 /templates/article.html
parent8a1ee16835571d4a590cd66f6ce21926ff02a875 (diff)
Support comment submission.
Diffstat (limited to 'templates/article.html')
-rw-r--r--templates/article.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/article.html b/templates/article.html
index 25013d6..c4ebff4 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -61,8 +61,9 @@
<form action="{action|html-attr-value}" accept-charset="UTF-8"
enctype="application/x-www-form-urlencoded" method="post">
<div style="display: none">
- <input name="id" type="hidden" value="{article-id|html-attr-value}" />
- <input name="action" type="hidden" value="post-comment" />
+ <input name="article" type="hidden" value="{article-id|html-attr-value}" />
+ <input name="revision" type="hidden" value="{revision|html-attr-value}" />
+ <input name="post-comment" type="hidden" />
</div>
<div class="comment-form-table">
{.repeated section fields}
@@ -83,8 +84,7 @@
</div>
<div class="comment-form-input">
<textarea id="comment-body" cols="60" rows="15"
- name="comment-body">
- </textarea>
+ name="body"></textarea>
</div>
</div>
</div>