{BEGIN <%- @location %>_block} > <% for section in @form.sections() : %> <% @setProp( 'section', section ) %> <% trAttrs = "" %> <% switch section : %> <% when 'head' : %> <% end %> <% else : %> <% trAttrs = "{$usernamerow_attrs}" %> {BEGIN grid_row} <% end %> <% end %> <% for rowIdx in Object.keys( @form.grid ) : %> <% if @form.grid[rowIdx].section == section : %> > <% for cellIdx in Object.keys( @form.grid[rowIdx].cells ) : %> <% include @form.cellTemplate( rowIdx, cellIdx ), @addCell( rowIdx, cellIdx ) %> <% end %> <% end %> <% end %> <% switch section : %> <% when 'head' : %> <% end %> <% else : %> {END grid_row} <% end %> <% end %> <% end %> {END <%- @location %>_block}