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

{% if mode=="update" %} Modification Carrousel {% elseif mode=="submit" %} Création Carrousel {% 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 %}
{{ form_row(form.title) }} {{ form_row(form.subtitle) }}
Modifier
{{ form_row(form.roworder) }} {{ form_row(form.url) }} le mot clé #login# sera remplacé par le login de l'utilisateur

{{ form_row(form.target) }}
{{ form_end(form) }} {% endblock %}