From 02d144fbf9083f03c8473e67a6f5e12e9bacf16f Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Sat, 7 Oct 2017 12:59:40 +0200 Subject: [PATCH] Add form name and error fields to payment login form --- .../templates/datacenterlight/landing_payment.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datacenterlight/templates/datacenterlight/landing_payment.html b/datacenterlight/templates/datacenterlight/landing_payment.html index fa638d77..461b057d 100644 --- a/datacenterlight/templates/datacenterlight/landing_payment.html +++ b/datacenterlight/templates/datacenterlight/landing_payment.html @@ -25,14 +25,15 @@

{%trans "Log in" %}


{% blocktrans %}Already signed up?
By logging in you can retrieve saved billing information.{% endblocktrans %}

-
+ {% for field in login_form %} {% csrf_token %} {% bootstrap_field field show_label=False type='fields'%} {% endfor %} +

{{login_form.non_field_errors|striptags}}

- +