{% if popin is defined and popin == false %} {{ form_start(form, {'method': 'post', 'action': path('courses_composant_edit', {'id': id}), 'multipart': true, 'attr': {'id': 'form_courses_composant'} }) }} {% else %} {{ form_start(form, {'method': 'post', 'action': path('courses_popin_edit_composant', {'id': id}), 'multipart': true, 'attr': {'id': 'form_courses_composant'} }) }} {% endif %}
{{ form_label(form.titre) }} {{ form_widget(form.titre, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.titre) }}
{{ form_label(form.type) }} {{ form_widget(form.type, {'attr': {'class': 'ui fluid selectType', 'onchange': 'selectionType(this.value);'}}) }} {{ form_errors(form.type) }}
{{ form_label(form.langue) }} {{ form_widget(form.langue, {'attr': {'class': 'ui fluid selectLangue'}}) }} {{ form_errors(form.langue) }}
{{ form_label(form.niveau, 'Niveau ') }} {{ form_widget(form.niveau, {'attr': {'class': 'ui fluid search'}}) }} {{ form_errors(form.langue) }}
{{ form_label(form.consigne) }} {{ form_widget(form.consigne) }} {{ form_errors(form.consigne) }}
'|e }}">
{{ form_row(form._token) }} {{ form_end(form) }} {% if popin is defined and popin == false %} {% else %} {% endif %}