From e9eb2c612156894e87b9fa6584c1f8d05f932fe7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 26 Sep 2017 17:49:20 -0600 Subject: updated comments app to work with 1.11 --- .../django_comments/templates/comments/form.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/lib/django_comments/templates/comments/form.html (limited to 'app/lib/django_comments/templates/comments/form.html') diff --git a/app/lib/django_comments/templates/comments/form.html b/app/lib/django_comments/templates/comments/form.html new file mode 100644 index 0000000..858d5eb --- /dev/null +++ b/app/lib/django_comments/templates/comments/form.html @@ -0,0 +1,21 @@ +{% load comments i18n %} +
{% csrf_token %} + {% if next %} +
{% endif %} + {% for field in form %} + {% if field.is_hidden %} +
{{ field }}
+ {% else %} + {% if field.errors %}{{ field.errors }}{% endif %} + + {% endif %} + {% endfor %} +

+ + +

+
-- cgit v1.2.3