diff --git a/templates/crud/form_theme.html.twig b/templates/crud/form_theme.html.twig index c29e598490..0c8a6bdd99 100644 --- a/templates/crud/form_theme.html.twig +++ b/templates/crud/form_theme.html.twig @@ -3,7 +3,7 @@ {% block form_start %} {% if form.vars.errors|length > 0 and 'ea_crud' in form.vars.block_prefixes|default([]) %} - {{ form_errors(form, {attr: { class: 'global-invalid-feedback' }}) }} + {{ form_errors(form, {attr: { errorClass: 'global-invalid-feedback' }}) }} {% endif %} {{ parent() }} @@ -22,7 +22,7 @@ {% block form_errors %} {% if errors|length > 0 %} {% for error in errors %} -