mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
parent
ee280786ee
commit
257951ab52
|
@ -30,7 +30,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
<td th:text="${catalogEntry.getTotalCost()}">
|
<td th:text="${catalogEntry.getTotalCost()}">
|
||||||
<td>
|
<td sec:authorize="hasRole('ADMIN')">
|
||||||
<form method="post" th:action="@{/catalog/remove}">
|
<form method="post" th:action="@{/catalog/remove}">
|
||||||
<input type="hidden" name="catalogEntryID" th:value="${catalogEntry.getId()}">
|
<input type="hidden" name="catalogEntryID" th:value="${catalogEntry.getId()}">
|
||||||
<button type="submit">Entfernen</button>
|
<button type="submit">Entfernen</button>
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div sec:authorize="hasRole('ADMIN')">
|
||||||
<form th:action="@{/catalog_editor}">
|
<form th:action="@{/catalog_editor}">
|
||||||
<button type="submit">Hinzufügen</button>
|
<button type="submit">Hinzufügen</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<th:block th:text="${order.getTotalCost()}"/>
|
<th:block th:text="${order.getTotalCost()}"/>
|
||||||
<th:block th:text="€"/>
|
<th:block th:text="€"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td sec:authorize="hasRole('ADMIN')">
|
||||||
<form method="post" th:action="@{/orders/remove}">
|
<form method="post" th:action="@{/orders/remove}">
|
||||||
<input type="hidden" name="orderID" value="0" th:value="${order.getId()}"/>
|
<input type="hidden" name="orderID" value="0" th:value="${order.getId()}"/>
|
||||||
<input type="submit" value="remove" th:value="Entfernen"/>
|
<input type="submit" value="remove" th:value="Entfernen"/>
|
||||||
|
|
Loading…
Reference in a new issue