{% load comments %}
{% csrf_token %} {% if form.errors %}
{% if form.errors|length == 1 %} Please correct the error below{% else %} Please correct the errors below{% endif %}
{% endif %} {% for field in form %} {% if field.is_hidden %}
{{ field }}
{% else %} {% if field.errors %}{{ field.errors }}{% endif %} {% endif %} {% endfor %}