1
0
mirror of https://github.com/silverstripe/silverstripe-framework synced 2024-10-22 14:05:37 +02:00
silverstripe-framework/templates/SelectionGroup.ss

14 lines
360 B
Scheme
Raw Normal View History

<% if IsReadonly %>
<ul class="SelectionGroup$extraClass">
<% control FieldSet %>
<% if Selected %>
<li$Selected>
$RadioLabel
$FieldHolder
</li>
</ul>
<% end_if %>
<% end_control %>
<% else %>
<ul class="SelectionGroup$extraClass"><% control FieldSet %><li$Selected>{$RadioButton}{$RadioLabel}{$FieldHolder}</li><% end_control %></ul>
<% end_if %>