<!DOCTYPE html>
<html th:replace="~{modele-page :: layout('profil - ENI-Enchères',~{::link} , ~{::#container-main})}" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
</head>
<body>
<div class="container mt-5" id="container-main">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">
                    <h2 class="text-center">Profil de l'utilisateur</h2>
                </div>
                <div class="card-body">
                    <ul class="list-group">
                        <li class="list-group-item"><strong>Pseudo:</strong> <span th:text="${userProfil.pseudo}"></span></li>
                        <li class="list-group-item"><strong>Nom:</strong> <span th:text="${userProfil.nom}"></span></li>
                        <li class="list-group-item"><strong>Prénom:</strong> <span th:text="${userProfil.prenom}"></span></li>
                        <li class="list-group-item"><strong>Email:</strong> <span th:text="${userProfil.email}"></span></li>
                        <li class="list-group-item"><strong>Téléphone:</strong> <span th:text="${userProfil.telephone}"></span></li>
                        <li class="list-group-item"><strong>Adresse:</strong> <span th:text="${userProfil.rue} + ' ' + ${userProfil.code_postal} + ' ' + ${userProfil.ville}"></span></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
