Ekaropolus e92f86a298
Some checks reported errors
continuous-integration/drone/push Build was killed
Accounts Framework added
2025-05-16 19:51:14 -06:00

76 lines
3.5 KiB
HTML

{% extends "pxy_dashboard/account/base.html" %}
{% load static i18n crispy_forms_tags %}
{% block title %}{% trans "Recover Password" %}{% endblock title %}
{% block body_attr %}
class="authentication-bg"
{% endblock %}
{% block page_content %}
{% include "pxy_dashboard/partials/background.html" %}
<div class="account-pages pt-2 pt-sm-5 pb-4 pb-sm-5 position-relative">
<div class="container">
<div class="row justify-content-center">
<div class="col-xxl-4 col-lg-5">
<div class="card">
<!-- Logo -->
<div class="card-header pt-4 text-center">
<div class="auth-brand mb-0">
<a href="{% url 'index' %}" class="logo-dark">
<span><img src="{% static 'dashboard/images/logo-dark.png' %}" alt="dark logo"
height="28"></span>
</a>
<a href="{% url 'index' %}" class="logo-light">
<span><img src="{% static 'dashboard/images/logo.png' %}" alt="logo" height="28"></span>
</a>
</div>
</div>
<div class="card-body p-4">
<div class="text-center w-75 m-auto">
<h4 class="text-dark-50 text-center mt-0 fw-bold">Reset Password</h4>
<p class="text-muted mb-4">Enter your email address and we'll send you an email with
instructions to reset your password.</p>
</div>
{% if user.is_authenticated %}
{% include "account/snippets/already_logged_in.html" %}
{% endif %}
<form method="POST" action="{% url 'account_reset_password' %}" class="password_reset"
novalidate>
{% csrf_token %}
{{ form|crispy }}
<div class="mb-0 text-center">
<button class="btn btn-primary" type="submit">{% trans 'Reset Password' %}</button>
</div>
</form>
</div> <!-- end card-body-->
</div>
<!-- end card -->
<div class="row mt-3">
<div class="col-12 text-center">
<p class="text-white-50">Back to <a href="{% url 'account_login' %}"
class="text-white ms-1 link-offset-3 text-decoration-underline"><b>Log
In</b></a>
</p>
</div> <!-- end col -->
</div>
<!-- end row -->
</div> <!-- end col -->
</div>
<!-- end row -->
</div>
<!-- end container -->
</div>
<!-- end page -->
<footer class="footer footer-alt">
<span class="text-white-50"><script>document.write(new Date().getFullYear())</script> © Jidox - Coderthemes.com</span>
</footer>
{% endblock %}