<% if ((primaryButton) && !(secondaryButtons && secondaryButtons.length)) { %>
<%- primaryButton.label %>
<% } else { %>
<%- primaryButton.label %>
<% _.each(secondaryButtons, function (btn) { %>
<%- btn.label %>
<% }) %>
<% } %>