François 6 роки тому
батько
коміт
bbab0bf2b5

+ 4 - 0
src/AppBundle/Resources/views/videotheque/form.html.twig

@@ -2,10 +2,14 @@
     <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) }}

+ 1 - 1
src/AppBundle/Resources/views/videotheque/form_commentaire.html.twig

@@ -1 +1 @@
-{{ form(form) }}
+{{ form(form) }}