Skip to content

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

Explain empty form_class in comment

Anna Siwike9aa86cd006b
diff --git a/templates/dashboard/base_modal.html b/templates/dashboard/base_modal.html
index 441e2f9931..bab635b171 100644
--- a/templates/dashboard/base_modal.html
+++ b/templates/dashboard/base_modal.html
@@ -3,6 +3,7 @@
<form
role="form" method="post" action="{% block action_url %}#!{% endblock %}"
class="{% block form_class %}form-async{% endblock %}" novalidate>
+ {% comment %}Empty form_class can be used for non-ajax forms with server redirect.{% endcomment %}
{% csrf_token %}
<div class="modal-content">
<div class="row">