]> Raphaël G. Git Repositories - airbundle/commitdiff
Fix error to inherit message class
authorRaphaël Gertz <git@rapsys.eu>
Sun, 29 Nov 2020 06:19:17 +0000 (07:19 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 29 Nov 2020 06:19:17 +0000 (07:19 +0100)
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>