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