FEAT : Mise en place de l'architecture + instription d'un utilisateur

This commit is contained in:
2025-12-01 12:14:57 +01:00
parent c76592aa65
commit 6f9bbe47ab
41 changed files with 672 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8"/>
<title>Inscription - FotoSharing</title>
</head>
<body>
<h1>Inscription</h1>
<form th:action="@{/register}" th:object="${utilisateur}" method="post">
<label>Email: <input th:field="*{email}" /></label><br/>
<label>Nom: <input th:field="*{nom}" /></label><br/>
<label>Prénom: <input th:field="*{prenom}" /></label><br/>
<label>Mot de passe: <input th:field="*{motDePasse}" type="password"/></label><br/>
<button type="submit">Créer</button>
</form>
</body>
</html>