{% load i18n %} {% block errors %} {% if form.errors or form.non_field_errors %}
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% if form.non_field_errors %}