mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #312 from flashbackzoo/pulls/fix-checkbox-markup
Make checkbox field markup consistant with other fields
This commit is contained in:
commit
be90ffac35
@ -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 %>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user