فهرست منبع

Add a sonata_ prefix to the new blocks

Damien Alexandre 13 سال پیش
والد
کامیت
03a89e9e7b
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Resources/views/CRUD/base_edit.html.twig

+ 2 - 2
Resources/views/CRUD/base_edit.html.twig

@@ -57,7 +57,7 @@ file that was distributed with this source code.
                 </div>
             {% endif %}
 
-            {% block pre_fieldsets %}{% endblock %}
+            {% block sonata_pre_fieldsets %}{% endblock %}
 
             {% for name, form_group in admin.formgroups %}
                 <fieldset {% if form_group.collapsed %}class="sonata-ba-fielset-collapsed"{% endif %}>
@@ -79,7 +79,7 @@ file that was distributed with this source code.
                 </fieldset>
             {% endfor %}
 
-            {% block post_fieldsets %}{% endblock %}
+            {% block sonata_post_fieldsets %}{% endblock %}
 
             {{ form_rest(form) }}