<input type="text" th:field="*{id}" id="id" placeholder="Id">
<span th:if="${#fields.hasErrors('id')}" th:errors="*{id}"></span>
<br/><br/>
<input type="submit" value="Create Project">
<input type="text" th:field="*{id}" id="id" placeholder="Id">
<span th:if="${#fields.hasErrors('id')}" th:errors="*{id}"></span>
<br/><br/>
<input type="submit" value="Create Project">