feat: enable document uploads for admins on behalf of teamer

closes #869btf5bm
This commit is contained in:
Björn Fromme committed 2026-03-02 10:39:13 +01:00
1 parent e1fdcc1fef
commit 88c85fb973
4 files changed
+109 -62

No files matched your search

@@ -7,7 +7,7 @@
{{ form_start(form, { 'attr': { 'hx-post': app.request.uri, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML' }|merge(formAttr.toArray()) }) }}
<div class="pb-4">
{% include '_partials/_upload_collection_form.html.twig' with {
'endpoint_upload': path('_uploader_upload_contract'),
'endpoint_upload': path(endpointUpload),
'max_filesize': 5,
'max_files': 1,
'accepted_files': 'image/jpg,image/jpeg,application/pdf',
@@ -18,4 +18,4 @@
</button>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}
{% endblock %}