summaryrefslogtreecommitdiff
path: root/templates/password
diff options
context:
space:
mode:
Diffstat (limited to 'templates/password')
-rw-r--r--templates/password/edit.html25
-rw-r--r--templates/password/new.html19
2 files changed, 44 insertions, 0 deletions
diff --git a/templates/password/edit.html b/templates/password/edit.html
new file mode 100644
index 0000000..487b552
--- /dev/null
+++ b/templates/password/edit.html
@@ -0,0 +1,25 @@
+{% extends "layout.html" %}
+
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="span11">
+ <h2>Change Password</h2>
+ <br>
+ <form action="{% url 'sbhs_server.password.views.update' token %}" method="POST">
+ {% csrf_token %}
+ <label for="email">Email</label>
+ <input type="email" name="email" id="email" required>
+ <br>
+ <label for="password">Password</label>
+ <input type="password" name="password" id="password" required>
+ <br>
+ <label for="confirm">Confirm password</label>
+ <input type="password" name="confirm" id="confirm" required>
+ <br>
+ <input type="submit" class="btn btn-primary" value="Change password">
+ </form>
+ </div>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file
diff --git a/templates/password/new.html b/templates/password/new.html
new file mode 100644
index 0000000..e45e24f
--- /dev/null
+++ b/templates/password/new.html
@@ -0,0 +1,19 @@
+{% extends "layout.html" %}
+
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="span11">
+ <h2>Change Password</h2>
+ <br>
+ <form action="{% url 'sbhs_server.password.views.email' %}" method="POST">
+ {% csrf_token %}
+ <label for="email">Email</label>
+ <input type="email" name="email" id="email" required>
+ <br>
+ <input type="submit" class="btn btn-primary" value="Send password change link">
+ </form>
+ </div>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file