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

{% if mode=="update" %} Modification {{ appNiveau04label }} = {{niveau04.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.niveau02) }} {{ form_row(form.niveau03) }} {{ 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 %}
{% if auditUse and mode=="update" and (access=="admin" or access=="modo" or access=="audit") %}
{{ render(path("app_"~access~"_audit_renderid",{entityname:"Niveau02",entityid:niveau03.id})) }}
{% endif %} {{ form_end(form) }} {% endblock %} {% block localscript %} {% endblock %}