<%- include("base/header", { title: "Home", userId: user.Id }) %>

Welcome back <%= user.Username %>!

What would you like to do?

Your Parties

<% if (parties.length > 0) { %> <% for (const party of parties) { %> <% } %>
Name Code
<%= party.Name %> <%= party.PartyRef %> Set Active <% if (party.CreatedByUserId === user.Id) { %> Leave <% } else { %> Leave <% } %>
<% } else { %> <% } %>
<%- include("base/footer") %>