summaryrefslogtreecommitdiff
path: root/arduino_blog/static/admin/templates/update-password.html
diff options
context:
space:
mode:
authorPrashant S2020-03-06 12:25:46 +0530
committerGitHub2020-03-06 12:25:46 +0530
commitf3b005d44de92e6872a0f9824f5d20cc9e636f34 (patch)
treed447e52cdc343eb69a7382eabd5ab554b3883132 /arduino_blog/static/admin/templates/update-password.html
parenta87bea9854a2ab1248abac74c4b2f04f819297ee (diff)
parent54e3e9d75088b7b63419dd8fc15095324d19fac9 (diff)
downloadarduino_projects_website-f3b005d44de92e6872a0f9824f5d20cc9e636f34.tar.gz
arduino_projects_website-f3b005d44de92e6872a0f9824f5d20cc9e636f34.tar.bz2
arduino_projects_website-f3b005d44de92e6872a0f9824f5d20cc9e636f34.zip
Merge pull request #10 from prashantsinalkar/fix-files
Fix files
Diffstat (limited to 'arduino_blog/static/admin/templates/update-password.html')
-rw-r--r--arduino_blog/static/admin/templates/update-password.html41
1 files changed, 41 insertions, 0 deletions
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 %}
+