mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
15 lines
374 B
Scheme
15 lines
374 B
Scheme
<$Tag class="field 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">
|
|
$SmallFieldHolder
|
|
</div>
|
|
<% else %>
|
|
$SmallFieldHolder
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
</$Tag> |