{% extends "base.html.twig" %} {% block content %}
{% include 'shared/menu.html.twig' %}
Modification de chapitre

Chapitre {{ chapter.title }}

{{ form_start(chapterForm, {'action': path('admin_edit_chapter', {'id': chapter.id }), 'method': 'POST','attr': { 'novalidate': 'novalidate' }}) }}
{{ form_widget(chapterForm.title, { 'attr': {'placeholder': 'Titre*'} }) }} {{ form_errors(chapterForm.title) }}
{{ form_widget(chapterForm.orderChapter) }} {{ form_errors(chapterForm.orderChapter) }}
{{ form_widget(chapterForm.description) }} {{ form_errors(chapterForm.description) }}
{% endblock %}