<?= $this->extend('layout/auth') ?>
<?= $this->section('content') ?>

<h5 class="mb-3">Reinitialisation du mot de passe</h5>
<p class="text-muted small mb-4">Entrez votre email pour recevoir un lien de reinitialisation.</p>

<form method="POST" action="/forgot-password">
    <?= csrf_field() ?>
    <div class="mb-3">
        <label class="form-label">Email</label>
        <input type="email" name="email" class="form-control" required>
    </div>
    <button type="submit" class="btn btn-auth">Envoyer le lien</button>
</form>

<div class="text-center mt-3">
    <a href="/login" class="small text-decoration-none">Retour a la connexion</a>
</div>

<?= $this->endSection() ?>
