silverstripe-webpack/app/templates/SilverStripe/Forms/OptionsetField.ss
2021-04-09 14:14:23 +07:00

9 lines
290 B
Scheme

<ul $AttributesHTML>
<% loop $Options %>
<li class="$Class">
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
<label for="$ID">$Title.RAW</label>
</li>
<% end_loop %>
</ul>