feat: open document from within checking modal
This commit is contained in:
@@ -4,9 +4,14 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ form_start(form, { 'attr': { 'hx-post': app.request.uri, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML' } }) }}
|
{{ form_start(form, { 'attr': { 'hx-post': app.request.uri, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML' } }) }}
|
||||||
<h2 class="font-bold text-lg pb-4">
|
<a href="{{ path('app_common_download', { 'uuid': document.uuid, 'inline': true }) }}"
|
||||||
{{ ('label.document.type.' ~ document.type)|trans }} {{ document.disposition.teamer }} vom {{ document.createdAt|date('d.m.Y') }}
|
class="flex justify-between items-center pb-4"
|
||||||
</h2>
|
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">
|
<div class="flex flex-col space-y-4 pb-4">
|
||||||
{{ form_row(form.status) }}
|
{{ form_row(form.status) }}
|
||||||
{% if form.specialAgreements is defined %}
|
{% if form.specialAgreements is defined %}
|
||||||
|
|||||||
Reference in New Issue
Block a user