42 lines
1.8 KiB
HTML
42 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
{% load crispy_forms_filters %}
|
|
{% load i18n allauth account static %}
|
|
{% block head_title %}
|
|
{% trans "Password Reset" %}
|
|
{% endblock head_title %}
|
|
{% block content %}
|
|
<div class="row ">
|
|
<div class="row flex-center min-vh-50">
|
|
<div class="col-sm-10 col-md-8 col-lg-5 col-xl-5 col-xxl-3">
|
|
<a class="d-flex flex-center text-decoration-none mb-4" href="{% url 'home' %}">
|
|
<div class="d-flex align-items-center fw-bolder fs-3 d-inline-block">
|
|
<div class="d-flex align-items-center fw-bolder fs-3 d-inline-block">
|
|
<img class="d-dark-none" src="{% static 'images/logos/logo-d.png' %}" alt="{% trans 'home' %}" width="58" />
|
|
<img class="d-light-none" src="{% static 'images/logos/logo.png' %}" alt="{% trans 'home' %}" width="58" />
|
|
</div>
|
|
</div>
|
|
</a>
|
|
<div class="text-center">
|
|
<h3 class="mb-4">{% trans "Password Reset" %}</h3>
|
|
</div>
|
|
|
|
{% if user.is_authenticated %}
|
|
{% include "account/snippets/already_logged_in.html" %}
|
|
{% endif %}
|
|
<p>
|
|
{% trans "Forgotten your password? Enter your email address below, and we'll send you an email allowing you to reset it." %}
|
|
</p>
|
|
|
|
<form method="post" action="{% url 'account_reset_password' %}" class="form needs-validation" novalidate>
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<button type="submit" class="btn btn-primary btn-sm w-100">{% trans 'Reset My Password' %}</button>
|
|
</form>
|
|
<p class="fs-9 mt-4">
|
|
{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|