silverstripe-framework/templates/SilverStripe/Forms/CheckboxField_holder.ss
Sam Minnee 8a098d637f FIX: Show RightTitle on CheckboxField
RightTitle, if set, will be shown after Title
with a space between them.

Fixes https://github.com/silverstripe/silverstripe-framework/issues/3819
2019-04-04 15:50:19 +13:00

7 lines
348 B
Scheme

<div id="$HolderID" class="field<% if extraClass %> $extraClass<% end_if %>">
$Field
<label class="right" for="$ID">$Title<% if $RightTitle %> $RightTitle<% end_if %></label>
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
<% if $Description %><span class="description">$Description</span><% end_if %>
</div>