Skip to content

Commit

Permalink
#EHA-33 Delete button for filtered veterinarians is added.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyzaaydeniz committed Jan 3, 2024
1 parent 1f6bfbe commit 6cdff30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/templates/desktop.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
<tr th:each="filteredvet : ${filteredVeterinarians}">
<td th:text="${filteredvet.user.name}"></td>
<td th:text="${filteredvet.clinic}"></td>
<td>
<a th:href="@{'/api/veterinarians/delete/' + ${filteredvet.vetID}}" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure you want to delete this veterinarian?')">Delete</a>
</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 6cdff30

Please sign in to comment.