aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bn_django/templates/comments/form.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/bn_django/templates/comments/form.html b/bn_django/templates/comments/form.html
index 316d6a1..c5aa768 100644
--- a/bn_django/templates/comments/form.html
+++ b/bn_django/templates/comments/form.html
@@ -1,4 +1,5 @@
{% load i18n %}
+{% if display_form %}
<form {% if photos_optional or photos_required %}enctype="multipart/form-data" {% endif %}action="/comments/post/" method="post">
{% if user.is_authenticated %}
@@ -34,3 +35,4 @@
<input type="submit" name="preview" value="{% trans "Preview comment" %}" />
</p>
</form>
+{% endif %}