瀏覽代碼

Merge pull request #891 from mweimerskirch/patch-10

Wrapped the content in a "{% block %}" to allow for easier customization
Thomas 13 年之前
父節點
當前提交
9ecbaf70fd
共有 1 個文件被更改,包括 3 次插入0 次删除
  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>