{{ form_start(form) }}
{{ form_label(form.title) }} {{ form_widget(form.title) }} {% if not form.title.vars.valid %}
{{ form_errors(form.title) }}
{% endif %}
{{ form_label(form.status) }} {{ form_widget(form.status) }} {% if not form.status.vars.valid %}
{{ form_errors(form.status) }}
{% endif %}
{{ form_label(form.category) }} {{ form_widget(form.category) }} {% if not form.category.vars.valid %}
{{ form_errors(form.category) }}
{% endif %}
{{ form_label(form.town) }} {{ form_widget(form.town) }} {% if not form.town.vars.valid %}
{{ form_errors(form.town) }}
{% endif %}
{{ form_label(form.content) }} {{ form_widget(form.content) }} {% if not form.content.vars.valid %}
{{ form_errors(form.content) }}
{% endif %}
{{ form_label(form.imageFile) }} {{ form_widget(form.imageFile) }} {% if not form.imageFile.vars.valid %}
{{ form_errors(form.imageFile) }}
{% endif %} {% if actuality.filename %}
Image pour {{ actuality.title }}
{% endif %}
{{ form_label(form.altImage) }} {{ form_widget(form.altImage) }} {% if not form.altImage.vars.valid %}
{{ form_errors(form.altImage) }}
{% endif %}
{{ form_label(form.legendImage) }} {{ form_widget(form.legendImage) }} {% if not form.legendImage.vars.valid %}
{{ form_errors(form.legendImage) }}
{% endif %}
{{ form_widget(form) }} {{ form_end(form) }}