{% load i18n %} {% for error in form.non_field_errors %} {% empty %} {% if form.errors %} {% endif %} {% endfor %}