{% load i18n %} {% if form.errors %}

{% trans "There were errors processing your form." %}

{% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% for field in form %} {% if field.is_hidden and field.errors %}

{% for error in field.errors %} {% blocktrans with name=field.name %}(Hidden field {{name}}) {{ error }}{% endblocktrans %} {% if not forloop.last %}
{% endif %} {% endfor %}

{% endif %} {% endfor %}
{% endif %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% else %} {% include "gadjo/widget.html" with field=field %} {% endif %} {% endfor %}