mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-16 22:46:20 +02:00
8dd644d25d
Namespace all templates Move difflib and BBCodeParser2 to thirdparty Remove deprecated API marked for removal in 4.0
34 lines
994 B
Scheme
34 lines
994 B
Scheme
<ul class="list-unstyled selection-group">
|
|
<% if $IsReadonly %>
|
|
<% loop $FieldSet %>
|
|
<% if $Selected %>
|
|
<li class="selected selection-group__item" id="$HolderID">
|
|
$RadioLabel
|
|
<%-- Bypass composite item field and directly render child fields --%>
|
|
<% if $FieldList %>
|
|
<div class="selection-group selection-group__item__fieldlist" id="$ID">
|
|
<% loop $FieldList %>
|
|
$Fieldholder
|
|
<% end_loop %>
|
|
</div>
|
|
<% end_if %>
|
|
</li>
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
<% else %>
|
|
<% loop $FieldSet %>
|
|
<li class="selection-group__item<% if $Selected %> selected<% end_if %>" id="$HolderID">
|
|
{$RadioButton}{$RadioLabel}
|
|
<%-- Bypass composite item field and directly render child fields --%>
|
|
<% if $FieldList %>
|
|
<div class="selection-group selection-group__item__fieldlist" id="$ID">
|
|
<% loop $FieldList %>
|
|
$Fieldholder
|
|
<% end_loop %>
|
|
</div>
|
|
<% end_if %>
|
|
</li>
|
|
<% end_loop %>
|
|
<% end_if %>
|
|
</ul>
|