mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
d816989f2e
commit
8a098d637f
@ -1,6 +1,6 @@
|
||||
<div id="$HolderID" class="field<% if extraClass %> $extraClass<% end_if %>">
|
||||
$Field
|
||||
<label class="right" for="$ID">$Title</label>
|
||||
<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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
$Field
|
||||
|
||||
<% if $Title %>
|
||||
<label class="checkboxfield-small" <% if $ID %>for="$ID"<% end_if %>>$Title</label>
|
||||
<label class="checkboxfield-small" <% if $ID %>for="$ID"<% end_if %>>$Title<% if $RightTitle %> $RightTitle<% end_if %></label>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user