- Timestamp:
- 03/08/23 17:43:21 (16 months ago)
- Branches:
- main
- Children:
- 5dea0b7
- Parents:
- c03e53b
- Location:
- Prototype Application/Paw5/src/main/resources/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/resources/templates/list-posts-adoption.html
rc03e53b re76c5a6 47 47 <tr th:each = "post : ${posts}"> 48 48 <td th:text = "${post.getId()}"></td> 49 <td th: each = "pet : ${pets}" th:if="${post.getPetId()==pet.getId()}" th:text = "${pet.getName()}"></td>50 <td th: each = "pet : ${pets}" th:if="${post.getPetId()==pet.getId()}" th:text = "${pet.getSpecies()}"></td>49 <td th:text = "${post.getPet().getName()}"></td> 50 <td th:text = "${post.getPet().getSpecies()}"></td> 51 51 <td> 52 52 <form th:action="@{'/pet-details-{id}' (id=${post.getId()})}" -
Prototype Application/Paw5/src/main/resources/templates/pet-details.html
rc03e53b re76c5a6 68 68 </table> 69 69 <form method="POST" 70 th:action="@{'/submit-adopt on-{id}' (id=${pet.getId()})}"71 th:if="${pet.getAdoption Id()==null}">70 th:action="@{'/submit-adoption-{id}' (id=${pet.getId()})}" 71 th:if="${pet.getAdoption==null}"> 72 72 <button id="submit" 73 73 type="submit"
Note:
See TracChangeset
for help on using the changeset viewer.