Metzploreur/views/profile.ejs

41 lines
1.2 KiB
Text
Raw Normal View History

2023-11-01 02:01:31 +00:00
<%- include('includes/head', {Title : 'My profile'}) %>
<link rel="stylesheet" type="text/css" href="css/profile.css">
</head>
<body>
<%- include('includes/header') %>
<main>
<div id="first_div">
<h1>
This is your profile
</h1>
<ul>
<li>
<p>
Nom : <%= locals.user.nom %>
</p>
</li>
<li>
<p>
Prénom : <%= locals.user.prenom %>
</p>
</li>
<li>
<p>
Nom d'utilisateur : <%= locals.user.nom_dutilisateur %>
</p>
</li>
<li>
<p>
Adresse email : <%= locals.user.email %>
</p>
</li>
<form action="/supprimer-compte" method="post">
<button>
Supprimer son compte
</button>
</form>
</ul>
</div>
</main>
<%- include('includes/footer')%>
</body>