Support assigning macs to existing items
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-11-21 12:42:07 +02:00
parent 4fa4edb637
commit 5c134ed566
2 changed files with 40 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
<td>{% if item.inventory.owner %}<a href="/m/user/{{ item.inventory.owner.username }}">{{ item.inventory.owner.username | display_name }}</a>{% endif %}</td>
<td>{% if item.inventory.user %}<a href="/m/user/{{ item.inventory.user.username }}">{{ item.inventory.user.username | display_name }}</a>{% endif %}</td>
<td>
<form action="/m/inventory/{{item._id}}/{{action_path}}/{{slug}}" method="get">
<form action="/m/inventory/{{item._id}}/{{action_path}}/{{slug}}" method="{{action_method}}">
<button class="waves-effect waves-light btn" type="submit">{{action_label}}</button>
</form>
</td>