fix: keep upload files until their deletion is committed
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user