haikal/templates/account/password_change.html
Marwan Alwali b48d0600f4 update
2024-12-29 13:21:15 +03:00

35 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% load i18n static crispy_forms_filters %}
{% block title %}{{ _("Change Password") }}{% endblock title %}
{% block content %}
<div class="container">
<div class="row min-vh-100">
<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 'landing_page' %}">
<div class="d-flex align-items-center fw-bolder fs-3 d-inline-block"><img src="{% static 'images/logos/logo.png' %}" alt="{% trans 'home' %}" width="58" /></div>
</a>
<div class="text-center">
<h1 class="fw-bold">{{ _("Change Password") }}</h1>
<p class="text-muted">{{ _("Ensure your account is using a strong, unique password.") }}</p>
</div>
<form method="post" action="{% url 'account_change_password' %}" class="needs-validation" novalidate>
{% csrf_token %}
{{ redirect_field }}
{{ form|crispy }}
<div class="text-start">
<a href="{% url 'account_reset_password' %}" class="fs-sm-9">
{{ _("Forgot Password?") }}
</a>
</div>
<div class="d-grid gap-2 mt-3">
<button type="submit" class="btn btn-primary w-100 mb-3"><i class="bi bi-key"></i> {{ _("Change Password") }}</button>
</div>
</form>
</div>
</div>
</div>
{% endblock %}