silverstripe-webpack/app/templates/SilverStripe/Forms/FormField_holder.ss

17 lines
533 B
Scheme
Raw Normal View History

2020-07-01 11:02:39 +02:00
<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>