Make checkbox field markup consistant with other fields

This commit is contained in:
David Craig 2015-08-24 15:30:55 +12:00
parent 7dae70c25d
commit 8d7bbfa456
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
<input $AttributesHTML<% if $RightTitle %>aria-describedby="{$Name}_right_title" <% end_if %>/>
<% if $RightTitle %><span id="{$Name}_right_title" class="right-title">$RightTitle</span><% end_if %>
<% if $Title %><label class="left" for="$ID">$Title</label><% end_if %>

View File

@ -1,7 +1,7 @@
<div id="$Name" class="field<% if $extraClass %> $extraClass<% end_if %>">
<% if $Title %><label class="left" for="$ID">$Title</label><% end_if %>
<div class="middleColumn">
$Field
</div>
<% if $RightTitle %><span id="{$Name}_right_title" class="right-title">$RightTitle</span><% end_if %>
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
</div>