silverstripe-webpack/app/templates/SilverStripe/Forms/OptionsetField.ss

9 lines
290 B
Scheme
Raw Permalink Normal View History

2021-04-09 09:14:23 +02:00
<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>