From a2891841fbf1e5660693a1f9109f2e6810224a3b Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 5 May 2019 11:40:42 -0500 Subject: added tutorials with comments --- app/django_comments/templates/comments/form.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/django_comments/templates/comments/form.html (limited to 'app/django_comments/templates/comments/form.html') diff --git a/app/django_comments/templates/comments/form.html b/app/django_comments/templates/comments/form.html new file mode 100644 index 0000000..858d5eb --- /dev/null +++ b/app/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-70-g09d2