<% _.each(controls, function (control) { %>
<% if(control.type != 'select') { %> <% } else { %> <% } %>
<% if(errors[control.name]) { %> <% } %>
<% }); %>