fix: keep upload files until their deletion is committed

This commit is contained in:
fromme committed 2026-10-15 12:49:48 +02:00
1 parent 7e182e3d51
commit 4aa2d7a5e6
5 files changed
+221 -12

No files matched your search

@@ -5,6 +5,7 @@
{% block content %}
{% set formAttr = stimulus_controller('form-upload-guard')|stimulus_action('form-upload-guard', 'guard', 'submit') %}
{{ form_start(form, { 'attr': { 'hx-post': app.request.uri, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML' }|merge(formAttr.toArray()) }) }}
{{ form_errors(form) }}
<div class="pb-4">
{% include '_partials/_upload_collection_form.html.twig' with {
'endpoint_upload': path(endpointUpload),