Merge branch 'Johan'

This commit is contained in:
Parpaillax
2024-04-25 10:03:47 +02:00
13 changed files with 170 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

View File

@@ -13,15 +13,11 @@
<div class="card-body">
<!-- Iteration over form fields -->
<div class="mb-3">
<label for="pseudo" class="form-label" th:text="#{profil.pseudo}"></label>
<input type="text" class="form-control" th:field="*{pseudo}" id="pseudo" required>
<div th="if=${#fields.hasErrors('pseudo')}" class="invalid-feedback">
<ul>
<li th:each="err : ${#fields.errors('pseudo')}" th:text="${err}"></li>
</ul>
</div>
<li class="list-group-item">
<strong><label class="col-form-label" th:text="#{profil.pseudo}"></label></strong>
<span th:text="${userProfile.pseudo}"></span>
</li>
</div>
<div class="mb-3">
<label for="prenom" class="form-label" th:text="#{profil.surname}">:</label>
<input type="text" class="form-control" th:field="*{prenom}" id="prenom" required>

View File

@@ -56,15 +56,15 @@
<h4>Retrait</h4>
<div>
<label for="rue">Rue:</label>
<input type="text" id="rue" name="rue" required>
<input type="text" id="rue" name="rue" th:field="${user.rue}" required>
</div>
<div>
<label for="codePostal">Code postal:</label>
<input type="text" id="codePostal" name="code_postal" required>
<input type="text" id="codePostal" name="code_postal" th:field="${user.code_postal}" required>
</div>
<div>
<label for="ville">Ville:</label>
<input type="text" id="ville" name="ville" required>
<input type="text" id="ville" name="ville" th:field="${user.ville}" required>
</div>
<!-- Bouton Enregistrer -->