21 lines
No EOL
913 B
HTML
21 lines
No EOL
913 B
HTML
{% extends 'base.html' %}
|
|
{% load crispy_forms_tags i18n widget_tweaks %}
|
|
|
|
{% block head_title %}{% trans "Reset Password" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container mx-auto max-w-md mt-6">
|
|
<h2 class="text-3xl font-bold text-center mb-6">{% trans "Reset Password" %}</h2>
|
|
<p class="mb-4 text-center">{% trans "Enter your email address and we'll send you a link to reset your password." %}</p>
|
|
<form method="post" action="{% url 'account_reset_password' %}" class="space-y-4">
|
|
{% csrf_token %}
|
|
{{ form.non_field_errors }}
|
|
<div>
|
|
<label for="{{ form.email.id_for_label }}" class="block font-medium text-gray-700">{{ form.email.label }}</label>
|
|
{{ form.email|add_class:"input input-bordered w-full" }}
|
|
{{ form.email.errors }}
|
|
</div>
|
|
<button type="submit" class="btn btn-primary w-full">{% trans "Reset Password" %}</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |