add checkin button (#25)

Reviewed-on: #25
This commit is contained in:
2025-02-15 14:30:49 +00:00
parent 3b8b099ae9
commit 1c4093922c
6 changed files with 78 additions and 3 deletions

View File

@ -0,0 +1,7 @@
{% if not field.value %}
<form action="{{ path('admin_checkin', {'entityId': entityId(field)}) }}" method="post">
<button type="submit">Einchecken</button>
</form>
{% else %}
<button disabled>Eingecheckt</button>
{% endif %}