silverstripe-framework/admin/themes/cms-forms/templates/OptionsetField.ss
Damian Mooyman c9b6e9bac0
API Update template lookup to late resolution for performance reasons
API Update behaviour of form fields to use standard template lookup mechanism
API Support custom "type" parameter to template lookup
2016-09-06 12:54:03 +12:00

11 lines
353 B
Scheme

<div $AttributesHTML <% include AriaAttributes %>>
<% loop $Options %>
<div class="radio $Class">
<label>
<input id="$ID" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> <% if $Up.Required %>required<% end_if %> />
$Title
</label>
</div>
<% end_loop %>
</div>