{% extends 'layouts/base.html' %}

{% load i18n %}
{% load pyaa %}

{% block content %}

<div class="container mx-auto px-4 py-8 max-w-xl">
    <h1 class="text-2xl font-bold text-center mb-2">
        {% translate "title.account-reset-password" %}
    </h1>
    <p class="text-center text-base-content/70 mb-6">
        {% translate "message.account-reset-password.instructions" %}
    </p>

    <form method="post" novalidate data-prevent-double-submit>
        {% csrf_token %}

        {% element fields form=form %}
        {% endelement %}

        <button type="submit" class="btn btn-primary w-full mt-4">
            {% translate "button.save" %}
        </button>
    </form>
</div>

{% endblock content %}
