1
0
mirror of https://github.com/pcvolkmer/grz-metadata-processor.git synced 2025-07-04 13:22:54 +00:00

feat: closable case parts

This commit is contained in:
2025-06-09 18:45:47 +02:00
parent 8712433b37
commit b73e262e6e
8 changed files with 52 additions and 20 deletions

View File

@ -7,12 +7,12 @@
<body>
<div>
<h1>
[[ ${cases.size()} ]] Fälle
Alle Fälle
</h1>
<form class="case">
<ul class="case-list">
<li th:each="case : ${cases}">
<a th:href="@{/cases/{caseId}(caseId=${case.id})}">#[[ ${case.id} ]] - Fallnummer: [[ ${case.localCaseId} ]]</a>
<a th:href="@{/cases/{caseId}(caseId=${case.id})}">Fallnummer: [[ ${case.localCaseId} ]]</a>
<button class="delete left" th:hx-delete="@{/cases/{caseId}(caseId=${case.id})}" hx-target="#cases">Eintrag löschen</button>
</li>
</ul>