Browse Source

Add body_attributes block

This allow us to customize login screen
+ change admin design based on user for company which have different brands
Nicolas Bastien 11 years ago
parent
commit
62e9782ae7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/standard_layout.html.twig

+ 1 - 1
Resources/views/standard_layout.html.twig

@@ -94,7 +94,7 @@ file that was distributed with this source code.
             {% endif%}
         </title>
     </head>
-    <body class="sonata-bc {% if _side_menu is empty %}sonata-ba-no-side-menu{% endif %}">
+    <body {% block body_attributes %}class="sonata-bc {% if _side_menu is empty %}sonata-ba-no-side-menu{% endif %}"{% endblock %}>
         {# initialize block value #}
 
         <div class="navbar navbar-fixed-top">