update Owner list from better view Pets List

This commit is contained in:
AewInformatica 2019-11-24 14:22:45 -03:00
parent e9c224d3f3
commit 9fa7f677d6

View file

@ -24,7 +24,7 @@
<td th:text="${owner.address}"/> <td th:text="${owner.address}"/>
<td th:text="${owner.city}"/> <td th:text="${owner.city}"/>
<td th:text="${owner.telephone}"/> <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> </tr>
</tbody> </tbody>
</table> </table>