Files
myep-team/templates/admin/teamer/training_attendance/modal_create.html.twig
T

15 lines
475 B
Twig

{% extends 'htmx_modal.html.twig' %}
{% block title %}Teilnahme hinzufügen/bestätigen{% endblock %}
{% block content %}
{{ form_start(form, { 'attr': { 'hx-post': app.request.uri, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML' } }) }}
<div class="flex flex-col space-y-4 pb-8">
{{ form_row(form.date) }}
</div>
<button type="submit" class="btn">
Speichern
</button>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}