mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-26 20:45:47 +02:00
18 lines
442 B
Scheme
18 lines
442 B
Scheme
<$Tag class="CompositeField $extraClass <% if ColumnCount %>multicolumn<% end_if %>">
|
|
<% if $Tag == 'fieldset' && $Legend %>
|
|
<legend>$Legend</legend>
|
|
<% end_if %>
|
|
|
|
<% loop $FieldList %>
|
|
<% if $ColumnCount %>
|
|
<div class="column-{$ColumnCount} $FirstLast">
|
|
$FieldHolder
|
|
</div>
|
|
<% else %>
|
|
$FieldHolder
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
|
|
<% if $Description %><span class="description">$Description</span><% end_if %>
|
|
</$Tag>
|