<% loop Tabs %> <% if Tabs %> $FieldHolder <% else %>
<% loop Fields %> $FieldHolder <% end_loop %>
<% end_if %> <% end_loop %>