{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #} {% use '@EasyAdmin/symfony-form-themes/bootstrap_5_layout.html.twig' %} {% 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' }}) }} {% endif %} {{ parent() }}