silverstripe-framework/admin/themes/cms-forms/templates/SilverStripe/Forms/MemberDatetimeOptionsetField.ss
Damian Mooyman 8dd644d25d
API Namespace all classes
Namespace all templates
Move difflib and BBCodeParser2 to thirdparty
Remove deprecated API marked for removal in 4.0
2016-09-08 10:23:17 +12:00

17 lines
638 B
Scheme

<div $AttributesHTML <% include SilverStripe/Forms/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>