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

{% if mode=="update" %} Modification {{ appNiveau02label }} = {{niveau02.label}} {% elseif mode=="submit" %} Création {{ appNiveau02label }} {% endif %}

{{ form_widget(form.submit) }} Annuler {% 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 %}
Informations
{{ form_row(form.niveau01) }} {{ form_row(form.label) }}
Caractères interdits = caractères spéciaux sauf ' @ . - _
{% if form.ldapfilter is defined %} {{ form_row(form.ldapfilter) }} {% endif %} {% if form.attributes is defined %} {{ form_row(form.attributes) }} {% endif %}
{{ form_end(form) }} {% endblock %}