mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Make checkbox field markup consistant with other fields
This commit is contained in:
parent
7dae70c25d
commit
8d7bbfa456
@ -1,2 +1,2 @@
|
|||||||
<input $AttributesHTML<% if $RightTitle %>aria-describedby="{$Name}_right_title" <% end_if %>/>
|
<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 %>">
|
<div id="$Name" class="field<% if $extraClass %> $extraClass<% end_if %>">
|
||||||
<% if $Title %><label class="left" for="$ID">$Title</label><% end_if %>
|
|
||||||
<div class="middleColumn">
|
<div class="middleColumn">
|
||||||
$Field
|
$Field
|
||||||
</div>
|
</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 %>
|
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user