<% _.each(fields, function(field){ %> <%= x %>="<%= field[x] %>"<% }%> /> <% }) %> <% if(deletable){ %> <% } %>