<% if (errors) { %>
<% _.each(_.keys(errors), function(label) { %>
<% if (_.isArray(errors[label])) { %>
<% _.each(errors[label], function(err) { %>
<%-label%>:<%- err %>
<% }); %>
<% } else { %>
<%-label%>:<%- errors[label] %>
<% } %>
<% }); %>
<% } %>