silverstripe-framework/admin/themes/cms-forms/templates/forms/OptionsetField.ss
Damian Mooyman a809e80d01 API Convert CMS forms to bootstrap
NEW Add cms-forms microtheme to cater to bootstrap's needs.

Note that the old SS3 assets section is buggy as a result of this change.
2016-07-25 17:24:26 +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>