{% extends '@EasyAdmin/page/content.html.twig' %} {% block content_title %}Modifier le Menu principal{% endblock %} {% set has_batch_actions = batch_actions|length > 0 %} {% block page_actions %} {% if filters|length > 0 %}
{% block filters %} {% set applied_filters = ea.request.query.all['filters']|default([])|keys %}
{{ 'filter.title'|trans(ea.i18n.translationParameters, 'EasyAdminBundle') }}{% if applied_filters %} ({{ applied_filters|length }}){% endif %} {% if applied_filters %} {% endif %}
{% endblock filters %}
{% endif %} {% block global_actions %}
Tout développer Tout replier {% for action in global_actions %} {{ include(action.templatePath, { action: action }, with_context = false) }} {% endfor %}
{% endblock global_actions %} {% endblock page_actions %} {% block main %}
    {% for entity in entities %}
  1. {{ entity.instance.title }} {% if entity.instance.children.isEmpty %}{% if entity.instance.page is null %}{% if entity.instance.link == "#" %}Titre de section{% else %}Lien externe: {{ entity.instance.link|slice(0, 64) }}{% endif %}{% else %}Page: {{ entity.instance.page.title }}{% endif %}{% endif %} {% if not entity.instance.active %}Brouillon{% else %}Visible{% endif %}
      {% for entity_2 in entity.instance.children %}
    1. {{ entity_2.title }} {% if not entity_2.active %}Brouillon{% else %}Visible{% endif %}
        {% for entity_3 in entity_2.children %}
      1. {{ entity_3.title }} {% if entity_3.page is null %}{% if entity_3.link == "#" %}Titre de section{% else %}Lien externe: {{ entity_3.link|slice(0, 64) }}{% endif %}{% else %}Page: {{ entity_3.page.title }}{% endif %} {% if not entity_3.active %}Brouillon{% else %}Visible{% endif %}
      2. {% endfor %}
    2. {% endfor %}
  2. {% endfor %}
{{ include('@EasyAdmin/crud/includes/_delete_form.html.twig', with_context = false) }} {% endblock %}