Merge pull request #312 from flashbackzoo/pulls/fix-checkbox-markup

Make checkbox field markup consistant with other fields
This commit is contained in:
Christopher Pitt 2015-08-24 19:20:00 +12:00
commit be90ffac35
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>