Files
website-v2/templates/account/password_reset.html
2023-01-05 16:27:19 -05:00

33 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% load i18n %}
{% load account %}
{% block head_title %}{% trans "Password Reset" %}{% endblock %}
{% block content %}
<div class="text-center my-6">
<div class="py-6">
<h1 class="text-4xl">{% trans "Password Reset" %}</h1>
{% if user.is_authenticated %}
{% include "account/snippets/already_logged_in.html" %}
{% endif %}
<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p>
<form method="POST" action="{% url 'account_reset_password' %}" class="password_reset">
{% csrf_token %}
<div class="w-full md:w-1/2 mx-auto">
{{ form.as_p }}
<input type="submit"
value="{% trans 'Reset My Password' %}"
class="border border-orange py-3 px-4 rounded text-orange uppercase"
/>
</div>
</form>
<p class="mt-6">{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
</div>
</div>
{% endblock %}