mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
20 lines
343 B
Scheme
20 lines
343 B
Scheme
<div $AttributesHTML>
|
|
<ul>
|
|
<% loop Tabs %>
|
|
<li class="$FirstLast $MiddleString $extraClass"><a href="#$id" id="tab-$id">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul>
|
|
|
|
<% loop Tabs %>
|
|
<div $AttributesHTML>
|
|
<% if Tabs %>
|
|
$FieldHolder
|
|
<% else %>
|
|
<% loop Fields %>
|
|
$FieldHolder
|
|
<% end_loop %>
|
|
<% end_if %>
|
|
</div>
|
|
<% end_loop %>
|
|
</div>
|