Blame view

framework/templates/forms/CompositeField_holder.ss 442 Bytes
0084d336   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <$Tag class="CompositeField $extraClass <% if ColumnCount %>multicolumn<% end_if %>">
  	<% if $Tag == 'fieldset' && $Legend %>
  		<legend>$Legend</legend>
  	<% end_if %>
  	
  	<% loop $FieldList %>
  		<% if $ColumnCount %>
  			<div class="column-{$ColumnCount} $FirstLast">
  				$FieldHolder
  			</div>
  		<% else %>
  			$FieldHolder
  		<% end_if %>
  	<% end_loop %>
  
  	<% if $Description %><span class="description">$Description</span><% end_if %>
  </$Tag>