diff --git a/allianceauth/templates/django_bootstrap5/field_errors.html b/allianceauth/templates/django_bootstrap5/field_errors.html new file mode 100644 index 00000000..d447c748 --- /dev/null +++ b/allianceauth/templates/django_bootstrap5/field_errors.html @@ -0,0 +1,11 @@ +{# Template override to display the errors of django Forms when using `boostrap_form` form the `django-bootstrap5` #} +{# library. #} +{# See: https://github.com/zostera/django-bootstrap5/pull/767 #} + +{% if field_errors %} +
+ {% for text in field_errors %} +
{{ text }}
+ {% endfor %} +
+{% endif %}