<% initialStep = 0 %> {BEGIN steps_block} <% for step, index in @page.steps : %> <% if @page.forms[ step.location ] : %> <% hiddenStyle = if index != initialStep then 'style="display:none"' else '' %>
> <% include 'forms/editform.htm', @addForm( step.location ) %>
<% end %> <% end %> {END steps_block}