haikal/templates/account/password_change.html
Marwan Alwali a4433631fb update
2025-02-02 11:04:08 +03:00

35 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% load crispy_forms_filters %}
{% load allauth i18n static%}
{% block head_title %}
{% trans "Change Password" %}
{% 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 "Change Password" %}</h3>
</div>
<form method="post" action="{% url 'account_change_password' %}" class="form needs-validation" novalidate>
{% csrf_token %}
{{ redirect_field }}
{{ form|crispy }}
<button type="submit" class="btn btn-primary btn-sm w-100">{% trans "Change Password" %}</button>
<div class="text-start mt-1">
<a class="fs-9" href="{% url 'account_reset_password' %}">{{ _("Forgot Password?")}}</a>
</div>
</form>
</div>
</div>
</div>
{% endblock content %}