{% load i18n static %} {{ wizard.management_form }} {% with form=wizard.form %} {% if form.errors and not form.non_field_errors %}
{% blocktranslate count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %} {% for field in form %} {% if field.name == 'method' %} {{ field }} {% else %}
{{ field.errors }}
{% endif %} {% endfor %} {% endwith %}