{{ form_start(form, {'attr': {'class': ''}}) }}
{% form_theme form 'bootstrap_5_horizontal_layout.html.twig' %}
{{ form_row(form.titre) }} {{ form_row(form.annee) }} {{ form_row(form.lien) }} {{ form_row(form.dateSortie) }} {% form_theme form 'bootstrap_5_layout.html.twig' %} {{ form_row(form.information) }} {# {{ form_label(form.mediaVideo, 'Bande annonce') }} {{ form_errors(form.mediaVideo) }} {{ form_widget(form.mediaVideo) }} #}
{{ form_label(form.mediaVideos, 'Bandes annonces') }}
    '|e }}" data-widget-counter="{{ form.children|length }}"> {% for mediaVideoField in form.mediaVideos %}
  • {{ form_widget(mediaVideoField) }} {{ form_errors(mediaVideoField) }}
  • {% else %} {{ form_widget(form.mediaVideos) }} {{ form_errors(form.mediaVideos) }} {% endfor %}
{{ form_label(form.genres, 'Genres') }}
    '|e }}" data-widget-counter="{{ form.children|length }}"> {% for genreField in form.genres %}
  • {{ form_widget(genreField) }} {{ form_errors(genreField) }}
  • {% else %} {{ form_widget(form.genres) }} {{ form_errors(form.genres) }} {% endfor %}
{{ form_label(form.realisateurs, 'Réalisateurs') }}
    '|e }}" data-widget-counter="{{ form.children|length }}"> {% for realisateurField in form.realisateurs %}
  • {{ form_widget(realisateurField) }} {{ form_errors(realisateurField) }}
  • {% else %} {{ form_widget(form.realisateurs) }} {{ form_errors(form.realisateurs) }} {% endfor %}
{{ form_rest(form) }} {{ form_end(form) }}