From bd3c59eb3e10714fc099686fc1ec1da771098410 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Fri, 6 Oct 2017 01:17:50 +0530 Subject: [PATCH] card_input template --- .../hosting/includes/_card_input.html | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 hosting/templates/hosting/includes/_card_input.html diff --git a/hosting/templates/hosting/includes/_card_input.html b/hosting/templates/hosting/includes/_card_input.html new file mode 100644 index 00000000..59e8d1a6 --- /dev/null +++ b/hosting/templates/hosting/includes/_card_input.html @@ -0,0 +1,59 @@ +{% load i18n %} + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+ + +
+
+
+
+ {% if not messages and not form.non_field_errors %} +

+ {% trans "You are not making any payment yet. After placing your order, you will be taken to the Submit Payment Page." %} +

+ {% endif %} +
+ {% for message in messages %} + {% if 'failed_payment' in message.tags or 'make_charge_error' in message.tags %} +
    +
  • {{ message|safe }}

  • +
+ {% elif not form.non_field_errors %} +

+ {% trans "You are not making any payment yet. After placing your order, you will be taken to the Submit Payment Page." %} +

+ {% endif %} + {% endfor %} + + {% for error in form.non_field_errors %} +

+ {{ error|escape }} +

+ {% endfor %} +
+
+ +
+ +
+

+
+
\ No newline at end of file