|
- {# @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()}) }}
- {% 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 %}
- <div class="col-12" id="{% block detail_id %}{% endblock detail_id %}">
- {% block card_wrapper %}
- <div class="card card-outline card-primary">
- {% block card_header_wrapper %}
- <div class="card-header">
- <div class="btn-list float-sm-right">
- </div>
- </div>
- {% endblock %}
- {% block card_body_wrapper %}
- <div class="card-body">
- {% block detail_fields %}
-
- {{ dump(entities_warning) }}
- {{ dump(entities_update) }}
- {# {% for entity_fqcn, entity_actions in entities_delete %}#}
- {# <div class="callout callout-danger">#}
- {# <h5>{{ entity_fqcn }}</h5>#}
- {# {% for action, entity_field_list in entity_actions %}#}
- {# {% for field, entity_list in entity_field_list %}#}
- {# <p>{{ entity_list|length }} entités à {{ action }} sur le champ {{ field }}</p>#}
- {# {% endfor %}#}
- {# {% endfor %}#}
- {# </div>#}
- {# {% endfor %}#}
- {% endblock %}
- </div>
- {% endblock %}
- {% block card_footer_wrapper %}
- <div class="card-footer">
- <div class="row">
- {% block delete_form %}
- {{ form_start(confirm_delete_user_form) }}
- <input type="hidden" name="token" value="{{ csrf_token('ea-delete') }}" />
- {{ form_end(confirm_delete_user_form) }}
- {% endblock delete_form %}
- </div>
- </div>
- {% endblock %}
-
-
- </div>
- {% endblock card_wrapper %}
- </div>
- {% block main_append %}{% endblock %}
-
- {% endblock main %}
|