insert="formErrorSummary">
<% if (legendText) { %>

<%- translate.get(legendText) %>

<% } %> <% if (htmlBefore !== undefined) { %>
insert="htmlBefore"> <%= htmlBefore %>
<% } %> <%= fields %> <% if (htmlAfter !== undefined) { %>
insert="htmlAfter"> <%= htmlAfter %>
<% } %> <% if (sendText) { %>
<% } %>