8 lines
241 B
Twig
8 lines
241 B
Twig
|
{% 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 %}
|