{% load i18n %} {% comment %} Non-field / catastrophic error summary. Rendered above the fields when a form has non_field_errors (e.g. a cross-field rule). role="alert" so it is announced; a heading anchors it for keyboard users. Field-level errors use forms/_field.html's inline pattern instead (BR-BW-HTMX-003), so this is only for form-scoped errors. Required context: form. {% endcomment %} {% if form.non_field_errors %} {% endif %}