feat: open document from within checking modal
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user