{% load i18n %}
{% if form.errors %}
    {% for field, errors in form.errors.items %}
  1. {{ field }}
    {{ errors }}
  2. {% endfor %}
{% endif %}
{% if csrf|default_if_none:True %}{% csrf_token %}{% endif %}{{ form }}