mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 21:15:40 +02:00
20 lines
404 B
Scheme
20 lines
404 B
Scheme
<div $getAttributesHTML("class") class="ss-tabset $extraClass">
|
|
<ul>
|
|
<% loop $Tabs %>
|
|
<li class="$FirstLast $MiddleString $extraClass"><a href="#$id" id="tab-$id">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul>
|
|
|
|
<% loop $Tabs %>
|
|
<% if $Tabs %>
|
|
$FieldHolder
|
|
<% else %>
|
|
<div $AttributesHTML>
|
|
<% loop $Fields %>
|
|
$FieldHolder
|
|
<% end_loop %>
|
|
</div>
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
</div>
|