Skip to content

Commit 4a87493

Browse files
set attribute action action in form tag (proxy)
1 parent 06db234 commit 4a87493

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

templates/Import/app_import.html.twig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,7 @@
146146
{% set params = params|merge({'type': 'default'}) %}
147147
{% endif %}
148148

149-
{% if params.action is not defined %}
150-
{% set params = params|merge({'action': app.request.uri}) %}
151-
{% endif %}
152-
153-
{{ form_start(params.form, {'action': params.action}) }}
149+
{{ form_start(params.form, {'action': ''}) }}
154150
<div class="row">
155151
{% if 'search' == params.type %}<div class="col-12 col-md-4 col-lg-3">{% else %}<div class="col-12 col-md-5 col-lg-4">{% endif %}
156152
{% for child in params.form.children %}

0 commit comments

Comments
 (0)