<% if( errors.length > maxErrors) { %>
<% _.each(errors.slice(0, maxErrors), function(error) { %>

<%- error %>

<% }); %>

<%- _("More").t() %>

<% _.each(errors, function(error) { %>

<%- error %>

<% }); %>

<%- _("Less").t() %>

<% } else { %>
<% _.each(errors, function(error) { %>

<%- error %>

<% }); %>
<% } %>