Add to UserFormsGroupField template

This commit is contained in:
David Craig 2015-08-20 13:48:44 +12:00
parent 72c89dc385
commit 06f855923b

View File

@ -0,0 +1,25 @@
<$Tag class="CompositeField $extraClass <% if ColumnCount %>multicolumn<% end_if %>">
<% if $Tag == 'fieldset' && $Legend %>
<legend>$Legend</legend>
<% end_if %>
<div class="middleColumn">
<% loop $FieldList %>
<% if $ColumnCount %>
<div class="column-{$ColumnCount} $FirstLast">
$FieldHolder
</div>
<% else %>
$FieldHolder
<% end_if %>
<% end_loop %>
</div>
<% if $RightTitle %>
<aside class="right" role="complementary">
<p>$RightTitle</p>
</aside>
<% end_if %>
<% if $Description %><span class="description">$Description</span><% end_if %>
</$Tag>