mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b2dac644a0
DropdownField was currently escaping options, but CheckboxSetField and OptionsetField were not. This fixes them to be consistent.
9 lines
311 B
Scheme
9 lines
311 B
Scheme
<ul id="$ID" class="$extraClass">
|
|
<% loop $Options %>
|
|
<li class="$Class">
|
|
<input id="$ID" class="radio" name="$Name.ATT" type="radio" value="$Value.ATT"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
|
|
<label for="$ID">$Title.XML</label>
|
|
</li>
|
|
<% end_loop %>
|
|
</ul>
|