nopaque/app/templates/auth/settings.html.j2

55 lines
2.1 KiB
Plaintext
Raw Normal View History

2019-07-09 09:00:41 +00:00
{% extends "base.html.j2" %}
{% block page_content %}
2019-07-09 14:18:21 +00:00
<div class="col s12 m4">
<h3>Account</h3>
2019-07-09 14:59:04 +00:00
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
2019-07-09 14:18:21 +00:00
</div>
<div class="col s12 m8">
<div class="card">
<form method="POST">
<div class="card-content">
2019-07-09 09:00:41 +00:00
{{ form.hidden_tag() }}
<div class="input-field ">
<i class="material-icons prefix">email</i>
2019-07-09 09:53:40 +00:00
{{ form.email(type='email', placeholder=current_user.email) }}
2019-07-09 09:00:41 +00:00
{{ 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>
2019-07-09 09:00:41 +00:00
{% for error in form.email.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %}
</div>
2019-07-09 09:53:40 +00:00
<div class="input-field ">
<i class="material-icons prefix">person</i>
{{ form.username(placeholder=current_user.username) }}
{{ form.username.label }}
{% for error in form.username.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %}
</div>
<div class="input-field">
<i class="material-icons prefix">vpn_key</i>
{{ form.password() }}
{{ form.password.label }}
{% for error in form.password.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %}
</div>
<div class="input-field">
<i class="material-icons prefix">vpn_key</i>
{{ form.password2() }}
{{ form.password2.label }}
{% for error in form.password2.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %}
</div>
</div>
<div class="card-action right-align">
{{ form.submit(class='btn') }}
</div>
</form>
2019-07-09 09:00:41 +00:00
</div>
</div>
{% endblock %}