silverstripe-framework/templates/forms/FieldGroup_DefaultFieldHolder.ss

8 lines
278 B
Scheme
Raw Normal View History

<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>