mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
2e21574988
As a replacement for the FieldGroup->subfieldParam setting available in 2.4. Usage through FieldGroup->setTemplate().
7 lines
274 B
Scheme
7 lines
274 B
Scheme
<div class="<% if extraClass %>$extraClass<% else %>fieldgroup<% end_if %><% if Zebra %> fieldgroup-zebra<% end_if %>" <% if ID %>id="$ID"<% end_if %>>
|
|
<% loop FieldList %>
|
|
<div class="fieldgroup-field $FirstLast $EvenOdd">
|
|
$FieldHolder
|
|
</div>
|
|
<% end_loop %>
|
|
</div> |