mirror of
https://github.com/leaders-of-digital-9-task/backend.git
synced 2024-12-01 13:33:48 +03:00
26 lines
882 B
HTML
26 lines
882 B
HTML
{% extends "account/base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load account %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block head_title %}{% translate "Password Reset" %}{% endblock %}
|
|
|
|
{% block inner %}
|
|
|
|
<h1>{% translate "Password Reset" %}</h1>
|
|
{% if user.is_authenticated %}
|
|
{% include "account/snippets/already_logged_in.html" %}
|
|
{% endif %}
|
|
|
|
<p>{% translate "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 %}
|
|
{{ form|crispy }}
|
|
<input class="btn btn-primary" type="submit" value="{% translate 'Reset My Password' %}" />
|
|
</form>
|
|
|
|
<p>{% blocktranslate %}Please contact us if you have any trouble resetting your password.{% endblocktranslate %}</p>
|
|
{% endblock %}
|