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

Nouvelle Page

{{ form_widget(form.submit) }} {% if access=="admin" %} Annuler {% else %} Annuler {% 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) }} {{ form_row(form.pagecategory) }} {{ form_row(form.usage) }} {% if form.user is defined %} {{ form_row(form.user) }} {% endif %} {{ form_row(form.page) }} {{ form_row(form.groups) }} {{ form_row(form.roworder) }} {{ form_row(form.fonticon) }} {{ form_row(form.maxwidth) }}
{{ form_end(form) }} {% endblock %} {% block localscript %} {% endblock %}