aboutsummaryrefslogtreecommitdiff
path: root/templates/blog/resetpass_input.html
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-06-13 19:31:04 +0000
committerBobby <[email protected]>2024-06-13 19:31:04 +0000
commitc27b2930170dbc69d5b2c302bff2eba6b97a5525 (patch)
tree2c29f50b15926c41de662791182091fab1a2d2dc /templates/blog/resetpass_input.html
parent77275c2c688aa1f337659d98255582627450d43f (diff)
downloadthatcomputerscientist-c27b2930170dbc69d5b2c302bff2eba6b97a5525.tar.xz
thatcomputerscientist-c27b2930170dbc69d5b2c302bff2eba6b97a5525.zip
Ability to Reset Passwords and Better Email Templates
Diffstat (limited to 'templates/blog/resetpass_input.html')
-rw-r--r--templates/blog/resetpass_input.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/blog/resetpass_input.html b/templates/blog/resetpass_input.html
new file mode 100644
index 00000000..7adc54d6
--- /dev/null
+++ b/templates/blog/resetpass_input.html
@@ -0,0 +1,23 @@
+{% extends 'blog/partials/base.html' %} {% block content %}
+<p>
+ Enter a new password for your account. Your password must be at least 8
+ characters long.
+</p>
+<hr />
+<form method="post">
+ <input
+ type="hidden"
+ name="csrfmiddlewaretoken"
+ value="{{ csrf_token }}"
+ style="display: none"
+ />
+ <table id="resetpass_form">
+ {{ form.as_table }}
+ </table>
+ <br />
+ <input type="submit" value="Reset password" class="button button-special" />
+</form>
+<br /><br />
+{% for message in messages %} {% if 'passwordReset' in message.tags %}
+<p><small class="success">{{ message.message }}</small></p>
+{% endif %} {% endfor %} {% endblock content %}