<%- include('partials/auth-open', { title }) %>
    <p class="kicker">Account recovery</p>
    <h1>Choose a new password</h1>
    <% if (error) { %><div class="alert error" role="alert"><%= error %></div><% } %>
    <form method="post" action="/reset-password/<%= encodeURIComponent(token) %>" class="stack">
      <label>New password<input type="password" name="password" autocomplete="new-password" minlength="8" required><span class="hint">8+ characters with an uppercase letter and a number.</span></label>
      <label>Confirm password<input type="password" name="confirm_password" autocomplete="new-password" minlength="8" required></label>
      <button class="button primary block" type="submit">Update password</button>
    </form>
<%- include('partials/auth-close') %>
