Skip to content

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

Reformat code

dominik-zeglen5b1d63186ceb
diff --git a/templates/dashboard/base_modal.html b/templates/dashboard/base_modal.html
index bab635b171..99c7435650 100644
--- a/templates/dashboard/base_modal.html
+++ b/templates/dashboard/base_modal.html
@@ -23,8 +23,8 @@
<a href="#!" class="modal-action modal-close btn-flat waves-effect">
{% block cancel_action %} {% trans "Cancel" context "Dashboard cancel action" %} {% endblock %}
</a>
- <button type="submit" class="modal-action btn-flat waves-effect">
- {% block primary_action %}{% endblock %}
- </button>
+ <button type="submit" class="modal-action btn-flat waves-effect">
+ {% block primary_action %}{% endblock %}
+ </button>
</div>
</form>
diff --git a/templates/dashboard/order/modal/add_note.html b/templates/dashboard/order/modal/add_note.html
index e189dda799..75526c85a0 100644
--- a/templates/dashboard/order/modal/add_note.html
+++ b/templates/dashboard/order/modal/add_note.html
@@ -4,17 +4,17 @@
{% load materializecss %}
{% block content %}
-{{ form|materializecss }}
+ {{ form|materializecss }}
{% endblock %}
{% block action_url %}
-{% url 'dashboard:order-add-note' order_pk=order.pk %}
+ {% url 'dashboard:order-add-note' order_pk=order.pk %}
{% endblock %}
{% block title %}
-{% trans "Add note" context "Modal add note title" %}
+ {% trans "Add note" context "Modal add note title" %}
{% endblock %}
{% block primary_action %}
-{% trans "Save note" context "Modal add note primary action" %}
+ {% trans "Save note" context "Modal add note primary action" %}
{% endblock %}
diff --git a/templates/product/modal/add_product.html b/templates/product/modal/add_product.html
index fad681fd82..fae672305d 100644
--- a/templates/product/modal/add_product.html
+++ b/templates/product/modal/add_product.html
@@ -4,19 +4,19 @@
{% load materializecss %}
{% block title %}
-{% trans "Product type" context "Modal select product classes title" %}
+ {% trans "Product type" context "Modal select product classes title" %}
{% endblock %}
{% block content %}
-{{ form|materializecss }}
+ {{ form|materializecss }}
{% endblock %}
{% block action_url %}
-{% url "dashboard:product-select-classes" %}
+ {% url "dashboard:product-select-classes" %}
{% endblock %}
{% block form_class %}form-async{% endblock %}
{% block primary_action %}
-{% trans "Create" context "Dashboard add action" %}
+ {% trans "Create" context "Dashboard add action" %}
{% endblock %}