Files
testpoint/templates/account/password_reset.html
T
2026-07-29 10:47:40 +00:00

4 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block title %}Reset Password | Testpoint{% endblock %}
{% block content %}<section class="auth-page"><div class="auth-card"><div class="auth-card__header"><span class="auth-card__icon"><i class="bi bi-envelope"></i></span><h1>Reset your password</h1><p>Enter your email and we'll send reset instructions.</p></div>{% if form.non_field_errors %}<div class="auth-alert" role="alert">{{ form.non_field_errors }}</div>{% endif %}<form method="post" action="{% url 'account_reset_password' %}">{% csrf_token %}<div class="auth-field"><label for="id_email">Email</label><input id="id_email" type="email" name="email" value="{{ form.email.value|default:'' }}" placeholder="you@example.com" autocomplete="email" required>{% for error in form.email.errors %}<p class="auth-error">{{ error }}</p>{% endfor %}</div><button class="auth-submit" type="submit">Send reset link</button></form><p class="auth-card__switch"><a href="{% url 'account_login' %}">Back to sign in</a></p></div></section>{% include "components/footer.html" %}{% endblock %}