{% load crispy_forms_tags %} {% load i18n %} {% if form.errors %}
{% trans "Please correct the errors below." %}
{% endif %} {{ form|as_crispy_errors }} {% for field in form %} {{ field|as_crispy_field }} {% endfor %}