Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Choose New 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-shield-lock"></i></span>{% if token_fail %}<h1>Invalid reset link</h1><p>This password-reset link has expired or has already been used.</p>{% else %}<h1>Choose a new password</h1><p>Use a strong password you do not use on another site.</p>{% endif %}</div>{% if token_fail %}<a class="auth-submit auth-submit--link" href="{% url 'account_reset_password' %}">Request another link</a>{% else %}<form method="post">{% csrf_token %}{% if form.non_field_errors %}<div class="auth-alert" role="alert">{{ form.non_field_errors }}</div>{% endif %}<div class="auth-field"><label for="id_password1">New password</label><input id="id_password1" type="password" name="password1" autocomplete="new-password" required>{% for error in form.password1.errors %}<p class="auth-error">{{ error }}</p>{% endfor %}</div><div class="auth-field"><label for="id_password2">Confirm new password</label><input id="id_password2" type="password" name="password2" autocomplete="new-password" required>{% for error in form.password2.errors %}<p class="auth-error">{{ error }}</p>{% endfor %}</div><button class="auth-submit" type="submit">Change password</button></form>{% endif %}</div></section>{% include "components/footer.html" %}{% endblock %}
|
||||
Reference in New Issue
Block a user