{% extends 'base.html.twig' %} {% block title %}New Chapter{% endblock %} {% block body %}

Create new Chapter

{{ form_start(form) }}
{{ form_label(form.title, 'Titre') }} {{ form_widget(form.title, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.description, 'Description') }} {{ form_widget(form.description, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.course, 'Cours') }} {{ form_widget(form.course, {'attr': {'class': 'form-control'}}) }}

Videos

Files

{{ form_end(form) }} Back to list {% endblock %}