{% extends 'base.html.twig' %} {% block body %} {{ form_start(form) }}

{% if mode=="update" or mode=="updatetemplate" %} Modification Widget {% elseif mode=="submit" or mode=="submittemplate" %} Création Widget {% endif %}

{{ form_widget(form.submit) }} {% if access=="admin" %} {% if mode=="update" %} Annuler {% else %} Annuler {% endif %} {% else %} {% if mode=="update" %} Annuler {% else %} Annuler {% endif %} {% 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 %}
Informations
{{ form_row(form.name) }}
Informations
{% if entity.icon.label %} {% endif %}
{{ form_row(form.idicon) }} Selectionner un Icône Détacher l'Icône
Informations
{{ form_row(form.autoajust) }} {{ form_row(form.height) }} {{ form_row(form.border) }} {{ form_row(form.opened) }}
{{ form_row(form.viewheader) }} {{ form_row(form.colorheaderback) }} {{ form_row(form.colorheaderfont) }} {{ form_row(form.colorbodyback) }} {{ form_row(form.colorbodyfont) }}
{{ form_widget(form) }}
{{ form_end(form) }} {% endblock %} {% block localscript %} {% endblock %}