{% if form_show_errors and field.errors %} {% if field.errors.field_id %} {# Django 5.2+ #}
{{ error }}