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

{% if mode=="update" %} Modification {{ appNiveau03label }} = {{niveau03.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.label) }}
Caractères interdits = caractères spéciaux sauf ' @ . - _
{{ form_row(form.code) }} {{ form_row(form.email) }} {{ form_row(form.telephonenumber) }} {{ form_row(form.postaladress) }} {% 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:"Niveau03",entityid:niveau03.id})) }}
{% endif %} {{ form_end(form) }} {% endblock %} {% block localscript %} {% endblock %}