<% if (hasMessages) { %>
<% messages().forEach(function(msg){ %> <%- msg %>
<% }) %>
<% } %>