feat: open document from within checking modal

This commit is contained in:
Björn Fromme
2024-08-27 12:43:28 +02:00
parent 5d0fb45bb1
commit 3e55d79e12
@@ -4,9 +4,14 @@
{% block content %}
{{ form_start(form, { 'attr': { 'hx-post': app.request.uri, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML' } }) }}
<h2 class="font-bold text-lg pb-4">
{{ ('label.document.type.' ~ document.type)|trans }} {{ document.disposition.teamer }} vom {{ document.createdAt|date('d.m.Y') }}
</h2>
<a href="{{ path('app_common_download', { 'uuid': document.uuid, 'inline': true }) }}"
class="flex justify-between items-center pb-4"
title="Dokument öffnen">
<h2 class="font-bold text-lg">
{{ ('label.document.type.' ~ document.type)|trans }} {{ document.disposition.teamer }} vom {{ document.createdAt|date('d.m.Y') }}
</h2>
{{ icon('eye') }}
</a>
<div class="flex flex-col space-y-4 pb-4">
{{ form_row(form.status) }}
{% if form.specialAgreements is defined %}