<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Qui êtes-vous ?</title>
    <link rel="stylesheet" href="/styles.css">
    <link href="/css/bootstrap.min.css" rel="stylesheet">
  </head>
</head>
<body>
    <div class="container mt-4">
        <div class="mt-4 p-5 bg-danger text-white rounded">
            <h1>Qui êtes-vous ?</h1>
            <p>{{ message }}</p>
        </div>
        <input type="hidden" name="cadeau" id="cadeau-reg" value="{{cadeau}}">
        <div class="card" style="width: 30rem;">
            <div class="card-body">
            {{#each listeOffrants}}
                <div class="mb-3">
                    <a href="reservation?cadeau={{../cadeau}}&offrant={{this.id}}" class="btn btn-primary offrants">{{this.prenom}}</a>
                </div>
            {{/each}}
        </div>
        <a href="/" class="btn btn-secondary">Retour aux cadeaux</a>
    </div>
</body>
</html>
