Files
FotoSharing/target/classes/templates/register.html

18 lines
601 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>
</body>
</html>