add functionality
All checks were successful
build / build (pull_request) Successful in 5m29s

This commit is contained in:
2025-02-15 15:29:48 +01:00
parent deeadda315
commit bfe3ea37b5
5 changed files with 57 additions and 6 deletions

View File

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