mirror of
https://github.com/OtusTeam/Spring.git
synced 2026-05-30 10:50:42 +00:00
2025-03 spring-17-view updated
This commit is contained in:
+4
-4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user