{% extends "base.html" %}

{% block title %}{{ title }}{% endblock %}

{% block content %}
<div class="auth-container">
    <div class="auth-form">
        <h1 class="title">Restablecer Contraseña</h1>
        <p class="text-muted">Ingresa tu correo electrónico y te enviaremos instrucciones para restablecer tu contraseña.</p>
        
        <form method="POST" action="{{ url_for('auth_bp.reset_password_request') }}">
            {{ form.hidden_tag() }}
            
            <div class="form-group">
                {{ form.email.label }}
                {{ form.email(class="form-control") }}
                {% for error in form.email.errors %}
                <span class="error-message">{{ error }}</span>
                {% endfor %}
            </div>
            
            <div class="form-actions">
                {{ form.submit(class="btn btn-primary") }}
            </div>
            
            <div class="auth-links">
                <p><a href="{{ url_for('auth_bp.login') }}">Volver al inicio de sesión</a></p>
            </div>
        </form>
    </div>
</div>
{% endblock %}
