<% _.each(tabs, function (tab) { %>
  • <%= tab.label %> <% if (tab.fieldErrors.length) { %>
    <% } %>
  • <% }); %>