Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add missing quotes in form action

Marcin Gębala1e2f2186ac8f
diff --git a/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html b/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html
index 16de9d0768..1ea0dbc4b7 100644
--- a/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html
+++ b/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html
@@ -8,7 +8,7 @@
<h3>{{ action|capfirst }} {% trans "payment" %}</h3>
</div>
<div class="modal-body">
- <form id="modal-form" class="form-inline" role="form" method="post" action={% url 'dashboard:manage-payment' pk=payment.pk action=action %}>
+ <form id="modal-form" class="form-inline" role="form" method="post" action="{% url 'dashboard:manage-payment' pk=payment.pk action=action %}">
{% csrf_token %}
<div class="form-group">
<label class="control-label" for="amount">{% blocktrans %}Amount to {{ action }}:{% endblocktrans %}</label>