silverstripe-framework/templates/forms/TabSet.ss

19 lines
364 B
Scheme

<div class="ss-tabset" id="$id">
<ul>
<% control Tabs %>
<li class="$FirstLast $MiddleString"><a href="#$id" id="tab-$id">$Title</a></li>
<% end_control %>
</ul>
<% control Tabs %>
<div class="tab" id="$id">
<% if Tabs %>
$FieldHolder
<% else %>
<% control Fields %>
$FieldHolder
<% end_control %>
<% end_if %>
</div>
<% end_control %>
</div>