diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-18 16:16:58 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-18 16:16:58 +0000 |
| commit | ce1fe100a2dc0aa0baada3c8f214d787333148ea (patch) | |
| tree | ea5924fb67dd24bebab03a56d372df4692936e24 /app/templates/reset_password.html | |
| parent | add errors, email, and reset password (diff) | |
| download | AnnotateChange-ce1fe100a2dc0aa0baada3c8f214d787333148ea.tar.gz AnnotateChange-ce1fe100a2dc0aa0baada3c8f214d787333148ea.zip | |
use bootstrap
Diffstat (limited to 'app/templates/reset_password.html')
| -rw-r--r-- | app/templates/reset_password.html | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/app/templates/reset_password.html b/app/templates/reset_password.html index da3aa95..cab00c9 100644 --- a/app/templates/reset_password.html +++ b/app/templates/reset_password.html @@ -1,23 +1,11 @@ {% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} -{% block content %} - <h1>Reset Your Password</h1> - <form action="" method="post"> - {{ form.hidden_tag() }} - <p> - {{ form.password.label }}<br> - {{ form.password(size=32) }}<br> - {% for error in form.password.errors %} - <span stle="color: red;">[{{ error }}]</span> - {% endfor %} - </p> - <p> - {{ form.password2.label }}<br> - {{ form.password2(size=32) }}<br> - {% for error in form.password2.errors %} - <span stle="color: red;">[{{ error }}]</span> - {% endfor %} - </p> - <p>{{ form.submit() }}</p> - </form> +{% block app_content %} +<h1>Reset Your Password</h1> +<div class="row"> + <div class="col-md-4"> + {{ wtf.quick_form(form) }} + </div> +</div> {% endblock %} |
