<% var index = 0; _.each(form, function(fields, name) { %>

<%= l(name) %>

<% var indextwo = 0; _.each(fields, function(field) { %> <% if(field.label !== null) { %>
<%= field.label %> <%= field.input %>
<% } else { %>
<%= field.input %>
<% } %> <% indextwo++; }); %>
<% index++; }); %>