mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-30 14:36:06 +02:00
21 lines
437 B
Scheme
21 lines
437 B
Scheme
<% if $IsReadonly %>
|
|
<ul class="SelectionGroup<% if extraClass %> $extraClass<% end_if %>">
|
|
<% loop $FieldSet %>
|
|
<% if $Selected %>
|
|
<li$Selected>
|
|
$RadioLabel
|
|
$FieldHolder
|
|
</li>
|
|
</ul>
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
<% else %>
|
|
<ul class="SelectionGroup<% if extraClass %> $extraClass<% end_if %>">
|
|
<% loop $FieldSet %>
|
|
<li$Selected>
|
|
{$RadioButton}{$RadioLabel}{$FieldHolder}
|
|
</li>
|
|
<% end_loop %>
|
|
</ul>
|
|
<% end_if %>
|