FEAT : Mise en place de l'architecture + instription d'un utilisateur
This commit is contained in:
17
target/classes/templates/register.html
Normal file
17
target/classes/templates/register.html
Normal 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>
|
||||
Reference in New Issue
Block a user