silverstripe-userforms/templates/forms/UserFormsLiteralField_holder.ss

11 lines
444 B
Scheme

<div id="$Name" class="field<% if $extraClass %> $extraClass<% end_if %>">
<% if $Title %><p class="left">$Title</p><% end_if %>
<div class="middleColumn">
<% loop $FieldList %>
$Field
<% end_loop %>
</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 %>
</div>