37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
|
|
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<%@ page isELIgnored="false"%>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<%@ include file="base/header.jsp"%>
|
|
<spring:url value="/static/css/signin.css" var="signinCSS" />
|
|
<link href="${signinCSS}" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
|
|
<spring:url value="/register" var="registerURL_POST" />
|
|
<form id="loginForm" class="form-signin" action="${registerURL_POST}" method="POST">
|
|
<h2 class="form-signin-heading">Création d'un compte</h2>
|
|
|
|
<input type="text" id="inputLogin" name="username" class="form-control" placeholder="Login" required autofocus value="${MODEL_MAP_REGISTER_USERNAME}" />
|
|
<input type="password" id="inputPassword" name="password" class="form-control" placeholder="Mot de passe" required />
|
|
<input type="password" id="inputPassword" name="password_check" class="form-control" placeholder="Vérification mot de passe" required />
|
|
<input type="text" id="inputLogin" name="name" class="form-control" placeholder="Nom" value="${MODEL_MAP_REGISTER_NAME}" />
|
|
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Valider</button>
|
|
|
|
<br/>
|
|
<p style="color: red;">${MODEL_MAP_REGISTER_ERROR_MESSAGE}</p>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<%@ include file="base/footer.jsp"%>
|
|
</body>
|
|
</html>
|