2016-05-06 05:53:23 +02:00
|
|
|
<ul class="list-unstyled selection-group">
|
2016-07-26 02:29:55 +02:00
|
|
|
<% if $IsReadonly %>
|
|
|
|
<% loop $FieldSet %>
|
|
|
|
<% if $Selected %>
|
2016-07-28 02:05:36 +02:00
|
|
|
<li class="selected selection-group__item" id="$HolderID">
|
2016-07-26 02:29:55 +02:00
|
|
|
$RadioLabel
|
|
|
|
<%-- Bypass composite item field and directly render child fields --%>
|
2016-07-28 02:05:36 +02:00
|
|
|
<% if $FieldList %>
|
|
|
|
<div class="selection-group selection-group__item__fieldlist" id="$ID">
|
|
|
|
<% loop $FieldList %>
|
|
|
|
$Fieldholder
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2016-07-25 07:24:26 +02:00
|
|
|
</li>
|
2016-07-26 02:29:55 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% end_loop %>
|
|
|
|
<% else %>
|
|
|
|
<% loop $FieldSet %>
|
2016-07-28 02:05:36 +02:00
|
|
|
<li class="selection-group__item<% if $Selected %> selected<% end_if %>" id="$HolderID">
|
2016-07-26 02:29:55 +02:00
|
|
|
{$RadioButton}{$RadioLabel}
|
|
|
|
<%-- Bypass composite item field and directly render child fields --%>
|
2016-07-28 02:05:36 +02:00
|
|
|
<% if $FieldList %>
|
|
|
|
<div class="selection-group selection-group__item__fieldlist" id="$ID">
|
|
|
|
<% loop $FieldList %>
|
|
|
|
$Fieldholder
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2016-07-26 02:29:55 +02:00
|
|
|
</li>
|
|
|
|
<% end_loop %>
|
|
|
|
<% end_if %>
|
|
|
|
</ul>
|