diff --git a/templates/chapter/_form.html.twig b/templates/chapter/_form.html.twig index 64312d1..c656365 100644 --- a/templates/chapter/_form.html.twig +++ b/templates/chapter/_form.html.twig @@ -1,4 +1,4 @@ -{{ form_start(form) }} +{{ form_start(form, {'attr' : {'class' : 'centerForm'}}) }} {{ form_widget(form) }} {{ form_end(form) }} diff --git a/templates/chapter/edit.html.twig b/templates/chapter/edit.html.twig index ce2aaeb..c4d3fe1 100644 --- a/templates/chapter/edit.html.twig +++ b/templates/chapter/edit.html.twig @@ -3,11 +3,13 @@ {% block title %}Éditer Chapitre{% endblock %} {% block main %} +

Éditer Chapitre

- {{ include('chapter/_form.html.twig', {'button_label': 'Modifier'}) }} + {{ include('chapter/_form.html.twig', {'button_label': 'Valider'}) }} + + Ajouter page + Retour - Retour à la liste - - {{ include('chapter/_delete_form.html.twig') }} +
{% endblock %}