mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Added separator on Thymeleaf ownerList to better view
This commit is contained in:
parent
60105d5d9a
commit
6a7c76deb3
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
<td th:text="${owner.address}"/>
|
||||
<td th:text="${owner.city}"/>
|
||||
<td th:text="${owner.telephone}"/>
|
||||
<td><span th:each="pet : ${owner.pets}" th:text="${pet.name} "/></td>
|
||||
<td><span th:each="pet, iterPet : ${owner.pets}" th:text="!${iterPet.last} ? ${pet.name} + ', ':${pet.name}"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue