Formulaire incription utilisateur

This commit is contained in:
jleroy
2024-04-22 16:31:53 +02:00
parent 03bf97dd9f
commit 4b1677b43a
8 changed files with 9 additions and 23 deletions

View File

@@ -1,5 +1,4 @@
spring.datasource.url=jdbc:mariadb://91.121.54.36:3306/eni_enchere
spring.datasource.username=eni
spring.datasource.password=Pa$$w0rd
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.password=Pa$$w0rd

View File

@@ -6,7 +6,7 @@
<body>
<!-- Ajouter la page de nav bar -->
<div id="container-main">
<form th:action="@{/newUser}" method="post" th:object="${user}">
<form th:action="@{/inscription/newUser}" method="post" th:object="${user}">
<!--<div class="erreur-saisie" th:if="${#fields.hasErrors('*')}" >
<p th:text="#{index.erreurs}">Message d'erreur</p>
</div>-->
@@ -62,7 +62,7 @@
<div class="champ-saisie">
<label for="telephone">Téléphone: </label>
<div>
<input type="tel" th:field="*{telephone}" id="telephone" />
<input type="text" th:field="*{telephone}" id="telephone" />
</div>
<span style="color: red;" th:if="${#fields.hasErrors('telephone')}">
<ul>
@@ -86,7 +86,7 @@
<div class="champ-saisie">
<label for="code_postal">Code postal: </label>
<div>
<input type="number" th:field="*{code_postal}" id="code_postal" />
<input type="text" th:field="*{code_postal}" id="code_postal" />
</div>
<span style="color: red;" th:if="${#fields.hasErrors('code_postal')}">
<ul>