| 1 |
{% extends "base.html" %} |
| 2 |
|
| 3 |
{% block title %}Reset Password - Makenotwork{% endblock %} |
| 4 |
|
| 5 |
{% block body_attrs %} class="centered-page"{% endblock %} |
| 6 |
|
| 7 |
{% block content %} |
| 8 |
<h1 class="brand-h1">Makenot<span class="dot">.</span>work</h1> |
| 9 |
<div class="login-container"> |
| 10 |
<div id="form-feedback"></div> |
| 11 |
|
| 12 |
<form class="login-form" |
| 13 |
hx-post="/forgot-password" |
| 14 |
hx-target="#form-feedback" |
| 15 |
hx-swap="innerHTML" |
| 16 |
hx-indicator="#submit-spinner"> |
| 17 |
<h2 class="subtitle-h2">Reset Password</h2> |
| 18 |
<p class="form-description">Enter your email address and we'll send you a link to reset your password.</p> |
| 19 |
|
| 20 |
<div class="form-group"> |
| 21 |
<label for="email">Email</label> |
| 22 |
<input |
| 23 |
type="email" |
| 24 |
id="email" |
| 25 |
name="email" |
| 26 |
placeholder="you@example.com" |
| 27 |
required |
| 28 |
autofocus |
| 29 |
/> |
| 30 |
</div> |
| 31 |
|
| 32 |
<button type="submit" class="btn-primary"> |
| 33 |
Send Reset Link |
| 34 |
<span id="submit-spinner" class="htmx-indicator"> ...</span> |
| 35 |
</button> |
| 36 |
|
| 37 |
<div class="foot-link"> |
| 38 |
<a href="/login">Back to login<span class="dot">.</span></a> |
| 39 |
</div> |
| 40 |
</form> |
| 41 |
</div> |
| 42 |
{% endblock %} |
| 43 |
|