<%- include('partials/header') %>

<h1>Admin Panel</h1>
<ul>
  <% users.forEach(user => { %>
    <li>
      <%= user.username %> - <%= user.email %>
      <form action="/activate" method="post" style="display: inline;">
        <input type="hidden" name="userId" value="<%= user.id %>">
        <button type="submit" class="btn btn-success">Activate</button>
      </form>
    </li>
  <% }) %>
</ul>

<%- include('partials/footer') %>
