|
|
@@ -37,6 +37,20 @@
|
|
|
th:field="*{id}" type="text" readonly>
|
|
|
</td>
|
|
|
</tr>
|
|
|
+ <tr>
|
|
|
+ <td style="text-align: right;">
|
|
|
+ <label for="name">Name : </label>
|
|
|
+ </td>
|
|
|
+ <td style="text-align: left;">
|
|
|
+ <input class="form-control" id="name"
|
|
|
+ th:field="*{name}" type="text">
|
|
|
+ <div th:if="${#fields.hasErrors('name')}">
|
|
|
+ <ul class="text-danger">
|
|
|
+ <li th:each="err : ${#fields.errors('name')}" th:text="${err}"/>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
<tr><td> </td></tr>
|
|
|
</table>
|
|
|
<button type="submit" class="btn btn-primary">Commit</button>
|