BUGFIX Show AssetAdmin tree by not invoking $EditForm twice in template

Both for performance reasons, and for weird behaviour on the second invocation (doesn't retain the same record context)
This commit is contained in:
Ingo Schommer 2012-06-14 20:36:36 +02:00
parent 3c81958345
commit 7f27474159

View File

@ -1,7 +1,7 @@
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
<div class="cms-content-header north">
<% with EditForm %>
<div class="cms-content-header north">
<div class="cms-content-header-info">
<% include BackLink_Button %>
@ -22,15 +22,12 @@
</div>
<% end_with %>
<% end_if %>
<% end_with %>
</div>
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
$Tools
$EditForm
</div>
$Top.Tools
$forTemplate
</div>
<% end_with %>
</div>