39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
{% load crispy_forms_filters %}
|
|
{% load i18n %}
|
|
{% block title %}{{ _("Change Password") }}{% endblock title %}
|
|
|
|
{% block content %}
|
|
<div class="container my-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-6">
|
|
<!-- Page Header -->
|
|
<div class="text-center mb-4">
|
|
<h1 class="fw-bold">{{ _("Change Password") }}</h1>
|
|
<p class="text-muted">{{ _("Ensure your account is using a strong, unique password.") }}</p>
|
|
</div>
|
|
|
|
<!-- Change Password Form -->
|
|
<form method="post" action="{% url 'account_change_password' %}" class="needs-validation" novalidate>
|
|
{% csrf_token %}
|
|
{{ redirect_field }}
|
|
{{ form|crispy }}
|
|
|
|
<div class="d-grid gap-2 mt-3">
|
|
<button type="submit" class="btn btn-primary btn-lg">
|
|
<i class="bi bi-key"></i> {{ _("Change Password") }}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
|
|
<!-- Forgot Password Link -->
|
|
<div class="text-center mt-3">
|
|
<a href="{% url 'account_reset_password' %}" class="text-decoration-none">
|
|
{{ _("Forgot Password?") }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|