{% extends "base.html" %}

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

{% block content %}
<div class="auth-container">
    <div class="auth-form">
        <h1 class="title">Nueva Contraseña</h1>
        <p class="text-muted">Por favor, ingresa tu nueva contraseña.</p>
        
        <form method="POST">
            {{ form.hidden_tag() }}
            
            <div class="form-group">
                {{ form.password.label }}
                {{ form.password(class="form-control") }}
                {% for error in form.password.errors %}
                <span class="error-message">{{ error }}</span>
                {% endfor %}
            </div>
            
            <div class="form-group">
                {{ form.password2.label }}
                {{ form.password2(class="form-control") }}
                {% for error in form.password2.errors %}
                <span class="error-message">{{ error }}</span>
                {% endfor %}
            </div>
            
            <div class="form-actions">
                {{ form.submit(class="btn btn-primary") }}
            </div>
        </form>
    </div>
</div>
{% endblock %}
