Rename profile to account and enable password change.

This commit is contained in:
Patrick Jentsch
2019-07-09 13:40:33 +02:00
parent de2aacc2de
commit 37765c755a
3 changed files with 11 additions and 8 deletions

View File

@ -4,13 +4,14 @@
<div class="col s12">
<div class="card large">
<div class="card-content">
<span class="card-title">Change profile</span>
<span class="card-title">Change account information</span>
<form method="POST">
{{ form.hidden_tag() }}
<div class="input-field ">
<i class="material-icons prefix">email</i>
{{ form.email(type='email', placeholder=current_user.email) }}
{{ form.email.label }}
<span class="helper-text" data-error="wrong" data-success="right">When changing your e-mail adress you will have to reconfirm it.</span>
{% for error in form.email.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %}