silverstripe-framework/admin/themes/cms-forms/templates/forms/MemberDatetimeOptionsetField.ss

17 lines
619 B
Scheme
Raw Normal View History

<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>