]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/form_div_layout.html.twig
Rename title in civility
[airbundle] / Resources / views / form / form_div_layout.html.twig
index dfc79b3eb5494c83c801b2145eabcf186ff2f456..34af91ef39b57b7196fa67bd340de17c6f7ad527 100644 (file)
 {%- endblock repeated_row -%}
 
 {%- block form_row -%}
-    <div>
+    <div class="row">
         {{- form_label(form) -}}
-        <section>
+        <div>
             {{- form_widget(form) -}}
             {%- if errors|length > 0 -%}
-                <div class="error">
+                <div class="message error">
                     {{- form_errors(form) -}}
                 </div>
             {%- endif -%}
-        </section>
+        </div>
     </div>
 {%- endblock form_row -%}
 
         <input type="hidden" name="_method" value="{{ method }}" />
     {%- endif -%}
     {%- if errors|length > 0 -%}
-        <header>
-            <div class="error">
-                {{- form_errors(form) -}}
-            </div>
+        <header class="message error">
+                       {{- form_errors(form) -}}
         </header>
     {%- endif -%}
 {%- endblock form_start -%}