2020-11-20 19:31:22 +01:00
|
|
|
{% if errors %}
|
2020-12-19 15:28:32 +01:00
|
|
|
{% if form.non_field_errors %}
|
|
|
|
<div class="message is-danger">
|
|
|
|
<div class="message-body">
|
|
|
|
{% for non_field_error in form.non_field_errors %}
|
|
|
|
{{ non_field_error }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-11-20 19:31:22 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% for field in form.hidden_fields %}
|
2020-12-19 15:28:32 +01:00
|
|
|
{{ field }}
|
2020-11-20 19:31:22 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for field in form.visible_fields %}
|
2020-12-20 12:00:09 +01:00
|
|
|
{% include 'forms/field.html' %}
|
2020-12-18 17:38:44 +01:00
|
|
|
{% endfor %}
|