{% extends 'admin/base.html.twig' %} {% block title %}Éditeur moderne{% endblock %} {% block stylesheets %} {% endblock %} {% block body %} {% if success %}
Parfait ! Votre page a bien été mise à jour.
{% endif %} {% if debug_form_data is not null %}
DEBUG Form Data:
{{ debug_form_data|json_encode(constant('JSON_PRETTY_PRINT')) }}
DEBUG Sections Data (from command):
{{ debug_sections_data|json_encode(constant('JSON_PRETTY_PRINT')) }}
{% endif %}
{# Sidebar : Bibliothèque de sections #} {# Zone d'édition principale #}
{# Panel d'édition latéral #} {# Formulaire Symfony (caché) #} {{ form_start(form, {'attr': {'id': 'page-form'}}) }} {# Les autres champs restent cachés #}
{{ form_rest(form) }}
{{ form_end(form, {'render_rest': false}) }}
{% endblock %} {% block javascripts %} {% endblock %}