19 lines
655 B
HTML
19 lines
655 B
HTML
<!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>
|
|
<p><a th:href="@{/galerie}">Galerie publique</a></p>
|
|
</body>
|
|
</html>
|