{% extends 'base.html.twig' %} {% block title %}{{ creation ? 'Nouvelle pétition' : 'Modifier la pétition' }}{% endblock %} {% block stylesheets %} {% endblock %} {% block body %}

{{ creation ? 'Nouvelle pétition' : 'Modifier la pétition' }}

{% if creation %}Elle sera enregistrée en brouillon : rien n’est visible du public tant que vous ne l’avez pas publiée. {% else %}Vos modifications sont visibles immédiatement sur la page de la pétition.{% endif %}

{{ form_start(form) }}

L’essentiel

{{ form_row(form.titre) }} {{ form_row(form.slug) }} {{ form_row(form.objectifSignatures) }}

Le texte

{{ form_row(form.constat) }} {{ form_row(form.demandes) }}

Illustration

{{ form_row(form.image) }} {% if form.vars.data.imagePath is defined and form.vars.data.imagePath %}
Photo actuelle : Illustration actuelle
{% endif %}
Annuler
{{ form_end(form) }}
{% endblock %}