{# templates/eleve/ajouter.html.twig #} {% extends 'base.html.twig' %} {% block title %}Ajouter un cours{% endblock %} {% block contenu %}

Ajouter un cours

Rentrez les informations du nouveau cours

{{ form_start(form, {class : 'form-sample'}) }}
{{ form_row(form.agemini, {class : 'form-control'}, {id : 'agemini'}) }}
{{ form_row(form.agemax, {class : 'form-control'}, {id : 'agemax'}) }}
{{ form_row(form.heureDebut, {class : 'form-control'}, {id : 'heureDebut'}) }}
{{ form_row(form.heureFin, {class : 'form-control'}, {id : 'heureFin'}) }}
{{ form_row(form.typeCours, {class : 'form-control'}, {id : 'typeCours'}) }}
{{ form_row(form.nbPlaces, {class : 'form-control'}, {id : 'nbPlaces'}) }}
{{ form_row(form.professeur, {class : 'form-control'}, {id : 'professeur'}) }}
{{ form_row(form.jour, {class : 'form-control'}, {id : 'jour'}) }}
{{ form_row(form.typeInstrument, {class : 'form-control'}, {id : 'typeInstrument'}) }}
{{ form_end(form) }}
{% endblock %}