Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form-group">
- <label for="joueur1">Joueur 1</label>
- <select class="form-control" id="joueur1" placeholder="Pseudo" th:field="*{joueur1}">
- <option th:each="u : ${users}" th:value="${u.id}" th:text="${u.pseudo}"></option>
- </select>
- <div class="alert alert-danger" th:if="${#fields.hasErrors('joueur1')}" th:errors="*{joueur1}">Pseudo invalide</div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement