summaryrefslogtreecommitdiffstats
path: root/templates/comments/form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comments/form.html')
-rw-r--r--templates/comments/form.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/comments/form.html b/templates/comments/form.html
index 5c43c62..879f978 100644
--- a/templates/comments/form.html
+++ b/templates/comments/form.html
@@ -1,14 +1,11 @@
{% load comments %}
-<form action="{% comment_form_target %}" method="POST">
+ {% if form.comment.errors %}{{ form.comment.errors }}{% endif %}
+
+ {{ form.comment }}
{% for field in form %}
+
{% if field.is_hidden %}
{{ field }}
- {% else %}
- <p
- {% if field.errors %} class="error"{% endif %}
- {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
- {% if field.errors %}{{ field.errors }}{% endif %}
- {{ field.label_tag }} {{ field }}
</p>
{% endif %}
{% endfor %}
@@ -16,4 +13,4 @@
<input type="submit" name="submit" class="submit-post" value="Post">
<input type="submit" name="submit" class="submit-preview" value="Preview">
</p>
-</form> \ No newline at end of file
+</form>