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