silverstripe-framework/templates/SilverStripe/Forms/CheckboxField_holder_small.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

6 lines
166 B
Scheme

$Field
<% if $Title %>
<label class="checkboxfield-small" <% if $ID %>for="$ID"<% end_if %>>$Title<% if $RightTitle %> $RightTitle<% end_if %></label>
<% end_if %>