mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-29 05:55:52 +02:00
18 lines
352 B
Scheme
18 lines
352 B
Scheme
|
<ul class="tabstrip">
|
||
|
<% 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 %>
|