mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
60 lines
2.1 KiB
Django/Jinja
60 lines
2.1 KiB
Django/Jinja
{% extends "base.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12">
|
|
<h2>Settings</h2>
|
|
<p> </p>
|
|
</div>
|
|
|
|
<div class="col s12 m4">
|
|
<h3>Account</h3>
|
|
<p>Lo-fi you probably haven't heard of them etsy leggings raclette kickstarter four dollar toast. Raw denim fingerstache food truck chia health goth synth. Forage man bun intelligentsia freegan PBR&B banh mi asymmetrical chambray.</p>
|
|
</div>
|
|
|
|
<div class="col s12 m8">
|
|
<div class="card">
|
|
<form method="POST">
|
|
<div class="card-content">
|
|
{{ 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 %}
|
|
</div>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|