mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 17:10:41 +00:00
Rename profile to account and enable password change.
This commit is contained in:
@ -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 %}
|
@ -20,7 +20,7 @@
|
||||
</div>
|
||||
<ul id="nav-account-dropdown" class="dropdown-content">
|
||||
{% if current_user.is_authenticated %}
|
||||
<li><a href="{{ url_for('auth.profile') }}"><i class="material-icons">person</i>Profile</a></li>
|
||||
<li><a href="{{ url_for('auth.account') }}"><i class="material-icons">person</i>Account</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="{{ url_for('auth.logout') }}"><i class="material-icons">chevron_left</i>Log out</a></li>
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user