From 8a509ecc63453a65ee3976707865090a2b5f127d Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 10 Jul 2019 08:56:49 +0200 Subject: [PATCH] Layout update --- app/templates/auth/reset_password.html.j2 | 7 ------- app/templates/auth/settings.html.j2 | 5 ++--- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app/templates/auth/reset_password.html.j2 b/app/templates/auth/reset_password.html.j2 index 8ef7c055..5a3ad381 100644 --- a/app/templates/auth/reset_password.html.j2 +++ b/app/templates/auth/reset_password.html.j2 @@ -6,13 +6,6 @@
{{ form.hidden_tag() }} -
- {{ form.email(class='validate', type='email') }} - {{ form.email.label }} - {% for error in form.email.errors %} - {{ error }} - {% endfor %} -
{{ form.password(class='validate', type='password') }} {{ form.password.label }} diff --git a/app/templates/auth/settings.html.j2 b/app/templates/auth/settings.html.j2 index c0bf3474..1f718983 100644 --- a/app/templates/auth/settings.html.j2 +++ b/app/templates/auth/settings.html.j2 @@ -13,16 +13,15 @@ {{ form.hidden_tag() }}
email - {{ form.email(type='email', placeholder=current_user.email) }} + {{ form.email(type='email', value=current_user.email) }} {{ form.email.label }} - When changing your e-mail adress you will have to reconfirm it. {% for error in form.email.errors %} {{ error }} {% endfor %}
person - {{ form.username(placeholder=current_user.username) }} + {{ form.username(value=current_user.username) }} {{ form.username.label }} {% for error in form.username.errors %} {{ error }}