diff --git a/Resources/views/standard_layout.html.twig b/Resources/views/standard_layout.html.twig index 70b5718739..165692d162 100644 --- a/Resources/views/standard_layout.html.twig +++ b/Resources/views/standard_layout.html.twig @@ -174,99 +174,101 @@ file that was distributed with this source code.
- {% block notice %} - {% for notice_level in ['success','error','info', 'warning'] %} - {% set session_var = 'sonata_flash_' ~ notice_level %} - {% for flash in app.session.flashbag.get(session_var) %} -
- {{ flash|trans([], 'SonataAdminBundle') }} -
+ {% block sonata_page_content %} + {% block notice %} + {% for notice_level in ['success','error','info', 'warning'] %} + {% set session_var = 'sonata_flash_' ~ notice_level %} + {% for flash in app.session.flashbag.get(session_var) %} +
+ {{ flash|trans([], 'SonataAdminBundle') }} +
+ {% endfor %} {% endfor %} - {% endfor %} - {% endblock %} + {% endblock %} -
- {% if _breadcrumb is not empty or action is defined %} -
- +
+ {% endif %} - {% if _actions is not empty %} -
- {{ _actions|raw }} -
- {% endif %} -
+ {% if _actions is not empty %} +
+ {{ _actions|raw }} +
+ {% endif %} +
-
- {% if _side_menu is not empty %} - - {% endif %} +
+ {% if _side_menu is not empty %} + + {% endif %} -
- {% block sonata_admin_content %} +
+ {% block sonata_admin_content %} - {% if _preview is not empty %} -
{{ _preview|raw }}
- {% endif %} + {% if _preview is not empty %} +
{{ _preview|raw }}
+ {% endif %} - {% if _content is not empty %} -
{{ _content|raw }}
- {% endif %} + {% if _content is not empty %} +
{{ _content|raw }}
+ {% endif %} - {% if _show is not empty %} -
{{ _show|raw }}
- {% endif %} + {% if _show is not empty %} +
{{ _show|raw }}
+ {% endif %} - {% if _form is not empty %} -
{{ _form|raw }}
- {% endif %} + {% if _form is not empty %} +
{{ _form|raw }}
+ {% endif %} - {% if _list_table is not empty or _list_filters is not empty %} -
-
- {{ _list_table|raw }} + {% if _list_table is not empty or _list_filters is not empty %} +
+
+ {{ _list_table|raw }} +
+
+ {{ _list_filters|raw }} +
-
- {{ _list_filters|raw }} -
-
- {% endif %} + {% endif %} - {% endblock %} + {% endblock %} +
-
- {% block footer %} -
-
- Sonata Project + {% block footer %} + -
+ {% endblock %} {% endblock %}