feat: call off single disposition as admin with optional notification

This commit is contained in:
Björn Fromme
2025-07-22 16:15:18 +02:00
parent b5314d270a
commit 231d0f315b
19 changed files with 1383 additions and 14 deletions
@@ -0,0 +1,20 @@
{% extends 'htmx_modal.html.twig' %}
{% block title %}Einsatz absagen{% endblock %}
{% block content %}
{{ form_start(form) }}
<h2 class="font-bold text-lg pb-4">
Teamer {{ disposition.teamer }}
</h2>
<div class="flex flex-col space-y-4 pb-4">
{{ form_row(form.calledOffBy) }}
{{ form_row(form.calledOffReason) }}
{{ form_row(form.sendNotification) }}
</div>
<button type="submit" class="btn">
Absagen
</button>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}