<% _.each(controls, function (control) { %>
<% if(control.type === 'password') { %> "************"<% } else { %> "" <%} %> required="required" placeholder="<%- control.placeholder %>"> <% } else if(control.type === 'text') { %> <% } %>
<% if(control.type === 'select') { %>
<% } %> <% if(errors[control.name]) { %> <% } %>
<% }); %>