{% extends '@CadolesCore/base.html.twig' %} {% block pagewrapper %} {{ form_start(form) }}

{% if mode=="update" %} Modification Page Editeur = {{entity.name}} {% elseif mode=="submit" %} Création Page Editeur {% endif %}

{{ form_widget(form.submit) }} {% if access=="config" %} Annuler {% else %} Annuler {% endif %} {% if mode=="update" %} Supprimer {% endif %}

{% if app.session.flashbag.has('error') %}
Erreur
{% for flashMessage in app.session.flashbag.get('error') %} {{ flashMessage }}
{% endfor %}
{% endif %} {% if app.session.flashbag.has('notice') %}
Information
{% for flashMessage in app.session.flashbag.get('notice') %} {{ flashMessage }}
{% endfor %}
{% endif %}
{% if form.roles is defined %}
{% else %}
{% endif %} {{ form_row(form.name) }} {{ form_row(form.roworder) }} {{ form_row(form.fonticon) }} {{ form_row(form.maxwidth) }} {{ form_row(form.html) }}
{% if form.roles is defined %}
{{ form_row(form.user) }} {{ form_row(form.roles) }} {{ form_row(form.groups) }}
{% endif %}
{{ form_end(form) }} {% endblock %}