Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move payments templates
Michal Ociepka2d4015fc936f
diff --git a/order/templates/order/details.html b/order/templates/order/details.htmldeleted file mode 100644index 91b0508d26..0000000000--- a/order/templates/order/details.html+++ /dev/null@@ -1,9 +0,0 @@-{% extends "base.html" %}--{% load as_bootstrap from bootstrap %}--{% block content %}-<h2>Payment</h2>-{% block forms %}{% endblock %}--{% endblock content %}diff --git a/order/templates/order/authorizenet.html b/payment/templates/payment/authorizenet.htmlsimilarity index 94%rename from order/templates/order/authorizenet.htmlrename to payment/templates/payment/authorizenet.htmlindex b16c63b298..4052ed476b 100644--- a/order/templates/order/authorizenet.html+++ b/payment/templates/payment/authorizenet.html@@ -1,4 +1,4 @@-{% extends "order/details.html" %}+{% extends "payment/details.html" %}{% load as_bootstrap from bootstrap %}{% load gross from prices %}diff --git a/payment/templates/payment/details.html b/payment/templates/payment/details.htmlnew file mode 100644index 0000000000..bc00a7d53f--- /dev/null+++ b/payment/templates/payment/details.html@@ -0,0 +1,20 @@+{% extends "base.html" %}++{% load as_bootstrap from bootstrap %}++{% block content %}+<h2>Payment</h2>+{% block forms %}+{% if form %}+<form method="post" action="{{ form.action }}" class="form-horizontal">+ {{ form|as_bootstrap }}+ <div class="form-actions">+ <button type="submit" class="btn btn-primary">+ Save changes+ </button>+ </div>+</form>+{% endif %}+{% endblock forms %}++{% endblock content %}diff --git a/order/templates/order/payment.html b/payment/templates/payment/index.htmlsimilarity index 90%rename from order/templates/order/payment.htmlrename to payment/templates/payment/index.htmlindex 7925904b01..6c0eabfc0b 100644--- a/order/templates/order/payment.html+++ b/payment/templates/payment/index.html@@ -1,4 +1,4 @@-{% extends "order/details.html" %}+{% extends "payment/details.html" %}{% load as_bootstrap from bootstrap %}{% load gross from prices %}diff --git a/order/templates/order/paypal.html b/payment/templates/payment/paypal.htmlsimilarity index 90%rename from order/templates/order/paypal.htmlrename to payment/templates/payment/paypal.htmlindex a2b4597536..6f6f58fdcd 100644--- a/order/templates/order/paypal.html+++ b/payment/templates/payment/paypal.html@@ -1,4 +1,4 @@-{% extends "order/details.html" %}+{% extends "payment/details.html" %}{% load as_bootstrap from bootstrap %}{% load gross from prices %}