{% load i18n %} {% if form.errors %}
{% if form.non_field_errors %} {{ form.non_field_errors }} {% else %} {% trans "Woops, there are some errors!" %} {% endif %}
{% endif %}