2025-03 spring-17-view updated

This commit is contained in:
stvort
2025-04-12 14:18:32 +04:00
parent c22e8dbe60
commit af45c49271
@@ -36,11 +36,11 @@
</tr>
</thead>
<tbody>
<tr th:each="person : ${persons}">
<td th:text="${person.id}">1</td>
<td th:text="${person.name}">John Doe</td>
<tr th:each="person : ${persons}" th:object="${person}">
<td th:text="*{id}">1</td>
<td th:text="*{name}">John Doe</td>
<td>
<a href="edit.html" th:href="@{/edit(id=${person.id})}">Edit</a>
<a href="edit.html" th:href="@{/edit(id=*{id})}">Edit</a>
</td>
</tr>
</tbody>