Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

NEW FieldGroup_DefaultFieldHolder template

As a replacement for the FieldGroup->subfieldParam
setting available in 2.4. Usage through FieldGroup->setTemplate().
  • Loading branch information...
commit 2e2157498824672af8d09993b756605bef92d849 1 parent 1d2288b
@chillu chillu authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 templates/forms/FieldGroup_DefaultFieldHolder.ss
View
7 templates/forms/FieldGroup_DefaultFieldHolder.ss
@@ -0,0 +1,7 @@
+<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>
Please sign in to comment.
Something went wrong with that request. Please try again.