mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2323 from chillu/pulls/optionset-label-for
No <label for> on OptionsetField/CheckboxSetField holder
This commit is contained in:
commit
5032c97672
9
templates/forms/OptionsetField_holder.ss
Normal file
9
templates/forms/OptionsetField_holder.ss
Normal 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>
|
Loading…
Reference in New Issue
Block a user