Bladeren bron

Wrapped the content in a "{% block %}" to allow for easier customization.

Michel Weimerskirch 13 jaren geleden
bovenliggende
commit
a79e21af07
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      Resources/views/standard_layout.html.twig

+ 3 - 0
Resources/views/standard_layout.html.twig

@@ -173,6 +173,7 @@ file that was distributed with this source code.
                 {% endif %}
 
                 <div class="content {{ _side_menu is not empty ? ' span10' : 'span12' }}">
+                {% block sonata_admin_content %}
 
                     {% if _preview is not empty %}
                         <div class="sonata-ba-preview">{{ _preview|raw }}</div>
@@ -198,6 +199,8 @@ file that was distributed with this source code.
                             {{ _list_table|raw }}
                         </div>
                     {% endif %}
+
+                {% endblock %}
                 </div>