silverstripe-framework/admin/themes/cms-forms/templates/forms/MemberDatetimeOptionsetField.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

17 lines
619 B
Scheme

<div $AttributesHTML <% include AriaAttributes %>>
<% loop $Options %>
<div class="radio $Class">
<label>
<input id="$ID" name="$Name" type="radio" value="$Value.ATT" <% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
$Title.XML
</label>
<% if $CustomName %>
<input class="form-control customFormat cms-help cms-help-tooltip" name="$CustomName" value="$CustomValue.ATT">
<% if $CustomPreview %>
<p class="form__field-description">({$CustomPreviewLabel.XML}: "{$CustomPreview.XML}")</p>
<% end_if %>
<% end_if %>
</div>
<% end_loop %>
</div>