Skip to content
This repository
Browse code

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
Ingo Schommer authored August 27, 2012
7  templates/forms/FieldGroup_DefaultFieldHolder.ss
... ...
@@ -0,0 +1,7 @@
  1
+<div class="<% if extraClass %>$extraClass<% else %>fieldgroup<% end_if %><% if Zebra %> fieldgroup-zebra<% end_if %>" <% if ID %>id="$ID"<% end_if %>>
  2
+	<% loop FieldList %>
  3
+		<div class="fieldgroup-field $FirstLast $EvenOdd">
  4
+			$FieldHolder
  5
+		</div>
  6
+	<% end_loop %>
  7
+</div>

0 notes on commit 2e21574

Please sign in to comment.
Something went wrong with that request. Please try again.