diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-05-29 18:07:23 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-05-29 18:07:23 +0100 |
| commit | 6353ac29e93877aa840ace90b0c4ce9bea7db313 (patch) | |
| tree | 817b0ed8df831aeea52719e7d3fff664af73c634 /app/templates/users/set_password.html | |
| parent | a4b583bac50dd00908e0ca38d4f79f3d01c02497 (diff) | |
| download | cheatdb-6353ac29e93877aa840ace90b0c4ce9bea7db313.tar.xz | |
Add set password form
Diffstat (limited to 'app/templates/users/set_password.html')
| -rw-r--r-- | app/templates/users/set_password.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app/templates/users/set_password.html b/app/templates/users/set_password.html new file mode 100644 index 0000000..6fc12ba --- /dev/null +++ b/app/templates/users/set_password.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} + +{% block title %} + Set Password +{% endblock %} + +{% block content %} +<h1>Set Password</h1> + +{% from "macros/forms.html" import render_field, render_submit_field %} +<form action="" method="POST" class="form" role="form"> + <div class="row"> + <div class="col-sm-6 col-md-5 col-lg-4"> + {{ form.hidden_tag() }} + + {% if not current_user.email %} + {{ render_field(form.email, tabindex=230) }} + {% endif %} + + {{ render_field(form.password, tabindex=230) }} + {{ render_field(form.password2, tabindex=240) }} + + {{ render_submit_field(form.submit, tabindex=280) }} + </div> + </div> +</form> + +{% endblock %} |
