12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- {{ form_start(form, {'attr': {'class': ''}}) }}
- <div class="container-fluid">
- <div class="row">
- <div class="col-3">
- {% form_theme form 'bootstrap_4_horizontal_layout.html.twig' %}
- <div class="form-group row">
- {{ form_row(form.titre) }}
- {{ form_row(form.annee) }}
- {{ form_row(form.lien) }}
- {% form_theme form 'bootstrap_4_layout.html.twig' %}
- {{ form_label(form.mediaVideo, 'Bande annonce') }}
- {{ form_errors(form.mediaVideo) }}
- {{ form_widget(form.mediaVideo) }}
- </div>
- </div>
- <div class="col">
- <div class="card">
- <div class="card-header">
- {{ form_label(form.genres, 'Genres') }}
- </div>
- <div class="card-body">
- {#<a href="#" id="add_genre" class="btn btn-link">Ajouter un genre</a>#}
- <div class="form-inline">
- {{ form_errors(form.genres) }}
- {{ form_widget(form.genres) }}
- </div>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card">
- <div class="card-header">
- {{ form_label(form.realisateurs, 'Réalisateurs') }}
- </div>
- <div class="card-body">
- <a href="#" id="add_realisateur" class="btn btn-link">Ajouter un réalisateur</a>
- <div class="form-inline">
- {{ form_errors(form.realisateurs) }}
- {{ form_widget (form.realisateurs) }}
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- {{ form_rest(form) }}
- {{ form_end(form) }}
|