16 lines
477 B
Twig
16 lines
477 B
Twig
{% extends 'htmx_modal.html.twig' %}
|
|
|
|
{% block title %}Dokument für {{ task.label }}{% 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.document) }}
|
|
</div>
|
|
<button type="submit" class="btn">
|
|
Speichern
|
|
</button>
|
|
{{ form_rest(form) }}
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|