From ce1fe100a2dc0aa0baada3c8f214d787333148ea Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 18 Mar 2019 16:16:58 +0000 Subject: use bootstrap --- app/templates/reset_password.html | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) (limited to 'app/templates/reset_password.html') 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 %} -

Reset Your Password

-
- {{ form.hidden_tag() }} -

- {{ form.password.label }}
- {{ form.password(size=32) }}
- {% for error in form.password.errors %} - [{{ error }}] - {% endfor %} -

-

- {{ form.password2.label }}
- {{ form.password2(size=32) }}
- {% for error in form.password2.errors %} - [{{ error }}] - {% endfor %} -

-

{{ form.submit() }}

-
+{% block app_content %} +

Reset Your Password

+
+
+ {{ wtf.quick_form(form) }} +
+
{% endblock %} -- cgit v1.2.3