feat: special agreements for disposition

This commit is contained in:
Björn Fromme
2024-04-04 13:06:35 +02:00
parent 4d1ea7aad7
commit 26239488ba
19 changed files with 310 additions and 31 deletions
@@ -1,7 +1,21 @@
{% extends 'htmx_confirmation_modal.html.twig' %}
{% extends 'htmx_modal.html.twig' %}
{% block title %}Einteilung{% endblock %}
{% block content %}
<div>
Möchtest du {{ application.teamer }} wirklich einteilen?
<div class="pb-4">
Möchtest du <strong>{{ application.teamer }}</strong> wirklich für den Einsatz <strong>{{ application.assignment.destination}}</strong> einteilen?
</div>
{{ form_start(form) }}
{{ form_row(form.specialAgreements) }}
<div class="mt-6 flex items-center justify-between">
<button type="submit" class="btn">
Ja
</button>
<button type="button" class="btn btn--secondary" {{ stimulus_action('modal', 'close') }}>
Abbrechen
</button>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}