mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
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> |