]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/form_div_layout.html.twig
Add session edit form template
[airbundle] / Resources / views / form / form_div_layout.html.twig
index dfc79b3eb5494c83c801b2145eabcf186ff2f456..29ec4014e053b9add2d277cb9702cd10e352450d 100644 (file)
         <section>
             {{- form_widget(form) -}}
             {%- if errors|length > 0 -%}
         <section>
             {{- form_widget(form) -}}
             {%- if errors|length > 0 -%}
-                <div class="error">
+                <div class="message error">
                     {{- form_errors(form) -}}
                 </div>
             {%- endif -%}
                     {{- form_errors(form) -}}
                 </div>
             {%- endif -%}
     {%- endif -%}
     {%- if errors|length > 0 -%}
         <header>
     {%- endif -%}
     {%- if errors|length > 0 -%}
         <header>
-            <div class="error">
+            <div class="message error">
                 {{- form_errors(form) -}}
             </div>
         </header>
                 {{- form_errors(form) -}}
             </div>
         </header>