silverstripe-gridfieldexten.../templates/Symbiote/GridFieldExtensions/GridFieldNestedForm.ss
2024-04-12 16:45:29 +03:00

6 lines
414 B
Scheme
Executable File

<a class="btn btn-secondary btn--no-text btn--icon-large <% if $Toggle == 'open' %>font-icon-down-dir<% else %>font-icon-right-dir<% end_if %> cms-panel-link list-children-link" data-pjax-target="$PjaxFragment" href="$Link" data-toggle="$ToggleLink"></a>
<% if $Toggle == 'open' %>
$NestedField
<% else %>
<div class="nested-container" data-pjax-fragment="$PjaxFragment" style="display:none;"></div>
<% end_if %>