From fde8470c5e47434df8c854bd3135763062fada12 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Thu, 5 Mar 2020 19:28:24 +0530 Subject: fixed file structure and added forgot passowrd link --- arduino_blog/templates/login.html | 47 +++++++++++++++---------------- arduino_blog/templates/user-register.html | 2 +- 2 files changed, 23 insertions(+), 26 deletions(-) (limited to 'arduino_blog/templates') diff --git a/arduino_blog/templates/login.html b/arduino_blog/templates/login.html index 052fd99..f9709ab 100644 --- a/arduino_blog/templates/login.html +++ b/arduino_blog/templates/login.html @@ -3,18 +3,18 @@ {% load widget_tweaks %} {% load static %} {% block content %} -
-
+
+

- {% if user and not user.is_anonymous %} -

Submit Proposal

- {% else %} -

Login

- {% endif %} + {% if user and not user.is_anonymous %} +

Submit Proposal

+ {% else %} +

Login

+ {% endif %}

- {% if registration_complete %} + {% if registration_complete %}

Thank You for your registration. You can now log in by clicking here! @@ -22,23 +22,20 @@

- {% endif %} -
- {% csrf_token %} - {{ form.as_p }} - -
-
- Create an Account - - -
-

-
-
- -
+ {% endif %} +
+
+ {% csrf_token %} + {{ form.as_table }} +

+ + Create an Account + +
+

Forgot Password?

+
+
+
{% endblock %} diff --git a/arduino_blog/templates/user-register.html b/arduino_blog/templates/user-register.html index a5282d6..2b2fde6 100644 --- a/arduino_blog/templates/user-register.html +++ b/arduino_blog/templates/user-register.html @@ -5,7 +5,7 @@ {% block content %}
-
+

Sign Up

-- cgit