mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ee5b4fd8d3
Introducing <Tabs> component based on react-bootstrap Better support for nested fields in FormBuilder Tweaks to get FormBuilder working with frameworktest BasicFieldsPage fields Added exception in FormBuilder when Component is defined but not found Added check in SingleSelectField for empty value before adding one in Added temporary workaround for CompositeFields with no name (another story to address the actual problem) Added asset_preview_height for File image preview, matches the defined CSS max-height Added documentation to DBFile::PreviewLink() method
24 lines
444 B
Scheme
24 lines
444 B
Scheme
<div $getAttributesHTML("class") class="ss-tabset $extraClass">
|
|
<ul>
|
|
<% loop $Tabs %>
|
|
<li class="$FirstLast $MiddleString $extraClass">
|
|
<a href="#$id" id="tab-$id" class="nav-link">$Title</a>
|
|
</li>
|
|
<% end_loop %>
|
|
</ul>
|
|
|
|
<div>
|
|
<% loop $Tabs %>
|
|
<% if $Tabs %>
|
|
$FieldHolder
|
|
<% else %>
|
|
<div $AttributesHTML>
|
|
<% loop $Fields %>
|
|
$FieldHolder
|
|
<% end_loop %>
|
|
</div>
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
</div>
|
|
</div>
|