{% if form.non_field_errors %}
<aside class="aside ~critical content mb-4">
    {% for non_field_error in form.non_field_errors %}
    <p>{{ non_field_error }}</p>
    {% endfor %}
</aside>
{% endif %}

{% for field in form.hidden_fields %}
  {{ field }}
{% endfor %}

{% for field in form.visible_fields %}
  {% include 'a17t/includes/field.html' %}
{% endfor %}