Merge pull request #8898 from sminnee/fix-3819

FIX: Show RightTitle on CheckboxField
This commit is contained in:
Guy Marriott 2019-04-04 17:23:02 +13:00 committed by GitHub
commit a3d929443a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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