Closed benkonrath closed 6 years ago
That doesn't work (of course) but adding this does:
{% 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 %}
Is there a way to display the
non_field_errors
when when manually building a form (e.g.{{ form.field|bulma }}
)? Will this work?:Thanks!