silverstripe-webpack/app/templates/SilverStripe/Forms/FormField_holder.ss
2020-07-01 16:02:39 +07:00

17 lines
533 B
Scheme

<div id="$HolderID" class="field<% if $extraClass %> $extraClass<% end_if %>">
<% if $Title %><label class="left" for="$ID">$Title</label><% end_if %>
<div class="middleColumn">
$Field
</div>
<% if $Title && $RightTitle %>
<div class="right">$RightTitle</div>
<% else_if $RightTitle %>
<label class="right" for="$ID">$RightTitle</label>
<% end_if %>
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
<% if $Description %><span class="description">$Description</span><% end_if %>
</div>