mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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 %>">
|
<div id="$HolderID" class="field<% if extraClass %> $extraClass<% end_if %>">
|
||||||
$Field
|
$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 $Message %><span class="message $MessageType">$Message</span><% end_if %>
|
||||||
<% if $Description %><span class="description">$Description</span><% end_if %>
|
<% if $Description %><span class="description">$Description</span><% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
$Field
|
$Field
|
||||||
|
|
||||||
<% if $Title %>
|
<% 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 %>
|
<% end_if %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user