|
|
|
|
@ -56,11 +56,21 @@
|
|
|
|
|
<h2 class="low-key-hint">felder</h2>
|
|
|
|
|
<h3 class="low-key-hint">
|
|
|
|
|
label
|
|
|
|
|
<a th:href="@{/document/{id}/field/label/add(id=${document.id})}">(+)</a>
|
|
|
|
|
<a th:href="@{/document/{id}/field/label/add(id=${document.id})}">
|
|
|
|
|
<button>
|
|
|
|
|
neu
|
|
|
|
|
</button>
|
|
|
|
|
</a>
|
|
|
|
|
</h3>
|
|
|
|
|
<dl>
|
|
|
|
|
<th:block th:each="field : ${document.labelFields}">
|
|
|
|
|
<dt th:text="${field.name}"></dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<th:block th:text="${field.name}" />
|
|
|
|
|
<form class="form-inline" th:action="@{/document/{id}/field/label/delete(id=${document.id})}" method="post">
|
|
|
|
|
<input type="hidden" name="labelId" th:value="${field.id}">
|
|
|
|
|
<button type="submit" class="warning">weg</button>
|
|
|
|
|
</form>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd th:text="${field.value}"></dd>
|
|
|
|
|
</th:block>
|
|
|
|
|
</dl>
|
|
|
|
|
@ -88,7 +98,7 @@
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<h2 class="warning">gefahr</h2>
|
|
|
|
|
<form class="form-inline" th:action="@{/document/delete}" method="post">
|
|
|
|
|
<form class="form-single" th:action="@{/document/delete}" method="post">
|
|
|
|
|
<input type="hidden" name="documentId" th:value="${document.id}">
|
|
|
|
|
<button type="submit" class="warning">
|
|
|
|
|
LÖSCHEN
|
|
|
|
|
|