No <label for> on OptionsetField/CheckboxSetField holder

It produces invalid HTML since the "for" attribute doesn't
map to any HTML input field. Each individual checkbox or radio button
input element has its own <label for>
This commit is contained in:
Ingo Schommer 2013-08-13 18:05:11 +02:00
parent fd2a0cd1f9
commit 6352201738
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<div id="$Name" class="field<% if $extraClass %> $extraClass<% end_if %>">
<% if $Title %><label class="left">$Title</label><% end_if %>
<div class="middleColumn">
$Field
</div>
<% if $RightTitle %><label class="right">$RightTitle</label><% end_if %>
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
<% if $Description %><span class="description">$Description</span><% end_if %>
</div>