{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #} {# @var entities \EasyCorp\Bundle\EasyAdminBundle\Collection\EntityDtoCollection #} {# @var paginator \EasyCorp\Bundle\EasyAdminBundle\Orm\EntityPaginator #} {% extends ea.templatePath('layout') %} {% trans_default_domain ea.i18n.translationDomain %} {% block content_title %} {{ 'delete'|sov_trans_admin_title(translation_entity_name, {id: ea.getEntity().getInstance().getId(), title: ea.getEntity().getInstance()})|raw }} {% endblock %} {% block content_breadcrumb %} {{ include('@LcSov/adminlte/block/breadcrumb.html.twig') }} {% endblock content_breadcrumb %} {% block page_actions %} {% endblock page_actions %} {% block main %} {% block main_prepend %}{% endblock %}
{% block card_wrapper %}
{% block card_header_wrapper %}
{% endblock %} {% block card_body_wrapper %}
{% block detail_fields %} {% for type, messageList in warning_message_list %} {% if messageList|length >0 %}
{% if type =='danger' %}
Suppresion impossible
{% elseif type =='warning' %}
À vérifier avant suppression
{% elseif type =='info' %}
Élements qui seront supprimés
{% endif %} {% for message in messageList %}

{{ message|raw }}

{% endfor %}
{% endif %} {% endfor %} {% endblock %}
{% endblock %} {% block card_footer_wrapper %} {% endblock %}
{% endblock card_wrapper %}
{% block main_append %}{% endblock %} {% endblock main %}