silverstripe-framework/templates/forms/CheckboxField_holder.ss

7 lines
297 B
Scheme

<div id="$Name" class="field<% if extraClass %> $extraClass<% end_if %>">
$Field
<label class="right" for="$ID">$Title</label>
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
<% if $Description %><span class="description">$Description</span><% end_if %>
</div>