Skip to content

Commit

Permalink
Merge pull request #374 from josdem/feature/344
Browse files Browse the repository at this point in the history
[small]Feature/344_additional
  • Loading branch information
josdem authored Oct 4, 2024
2 parents 98e0d91 + 10c4154 commit 04ab707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/templates/pet/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
<tr th:each="vaccination, itemStat : *{vaccines}">
<td><input type="hidden" th:field="*{vaccines[__${itemStat.index}__].id}"/></td>
<td><input type="hidden" th:field="*{vaccines[__${itemStat.index}__].pet}"/></td>
<td><input type="text" th:field="*{vaccines[__${itemStat.index}__].name}" readonly/></td>
<td><input type="text" th:field="*{vaccines[__${itemStat.index}__].name}" readonly style="height: 50px;"/></td>
<td>
<select th:field="*{vaccines[__${itemStat.index}__].status}">
<select th:field="*{vaccines[__${itemStat.index}__].status}" style="height: 50px;">
<option th:each="status : ${T(com.josdem.vetlog.enums.VaccinationStatus).values()}"
th:value="${status}" th:text="${status.value}"
th:selected="(${status} == *{vaccines[__${itemStat.index}__].status})"/>
Expand Down

0 comments on commit 04ab707

Please sign in to comment.