{% comment %} Renders form-level (non-field) errors as an accessible alert block. Required: form — a bound Django form whose non_field_errors() may be non-empty. Usage: {% include "components/forms/non_field_errors.html" with form=form %} {% endcomment %} {% if form.non_field_errors %} {% endif %}