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

---
 .../static/admin/templates/update-password.html    | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 arduino_blog/static/admin/templates/update-password.html

(limited to 'arduino_blog/static/admin/templates/update-password.html')

diff --git a/arduino_blog/static/admin/templates/update-password.html b/arduino_blog/static/admin/templates/update-password.html
new file mode 100644
index 0000000..33eb1d6
--- /dev/null
+++ b/arduino_blog/static/admin/templates/update-password.html
@@ -0,0 +1,41 @@
+{% extends "website/templates/base.html" %}
+{% load widget_tweaks %}
+{% block content %}
+{% load static %}
+
+<link rel="stylesheet" href="{% static 'website/css/login.css' %}">
+<br><br><br>
+<div class="row">
+<div class="form">
+<div class="headerlogin"><h2>Update Password</h2></div>
+<div class="login">
+  {% if no_match %}
+              <center>
+                <div class="alert" style="width:400px;height:50px;">
+                    <a class="close" data-dismiss="alert" href="#">&times;</a>
+                    <p>Password & Confirm Password did not match</p>
+                </div>
+              </center>
+              <div class="clearfix"></div>
+          {% endif %}
+        <form  method="POST"> {% csrf_token %}
+           
+            {% with WIDGET_ERROR_CLASS='field_error' %} 
+                <p>Enter the Email address you used while registration.</p>
+                <p >We will send you the updated login details on your Email address.</p>
+                <p><input class="pwd-recovery-email" type=password id="new_password" name="new_password" placeholder="New Password">
+                    <p><input class="pwd-recovery-email" type=password id="confirm_new_password" name="confirm_new_password" placeholder="Confirm New Password">
+                    <p><input class="btn btn-primary btn-sm" type=submit value="Update Password">
+            {% endwith %}
+
+        </form>
+         </br>
+        </div>
+         <div class="sign">
+<div class="need">Already Registered? </div>
+<div> <a href="/accounts/login/" class="btn  btn-sm btn-success">Login </a></div>
+</div>
+    </div>
+</div>
+{% endblock %}
+
-- 
cgit