mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 17:51:34 +02:00
16 lines
392 B
Scheme
16 lines
392 B
Scheme
<$Tag class="CompositeField $extraClass <% if $ColumnCount %>multicolumn<% end_if %>" id="$HolderID">
|
|
<% if $Tag == 'fieldset' && $Legend %>
|
|
<legend>$Legend</legend>
|
|
<% end_if %>
|
|
|
|
<% loop $FieldList %>
|
|
<% if $Up.ColumnCount %>
|
|
<div class="column-{$Up.ColumnCount} $FirstLast">
|
|
$SmallFieldHolder
|
|
</div>
|
|
<% else %>
|
|
$SmallFieldHolder
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
</$Tag>
|