{{ define "password_reset.gohtml" }}{{ template "base" . }}{{ end }}

{{ define "password_reset_content" }}
<section class="auth-shell">
  <div class="auth-panel">
    <div class="auth-panel__header">
      <p class="eyebrow">Cairnquire</p>
      <h1>Reset password</h1>
      <p class="auth-note">Choose a new password with at least 12 characters.</p>
    </div>

    <form class="auth-form" data-password-reset>
      <input type="hidden" name="token" value="{{ .Token }}" />
      <label>
        New password
        <input type="password" name="newPassword" autocomplete="new-password" minlength="12" required />
      </label>
      <button type="submit" class="btn-primary">Set new password</button>
      <p class="form-status" data-password-reset-status></p>
    </form>
  </div>
</section>
{{ end }}
