mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
39 lines
1.2 KiB
Django/Jinja
39 lines
1.2 KiB
Django/Jinja
{% extends "base.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12 m8 offset-m2">
|
|
<div class="card small">
|
|
<div class="card-content">
|
|
<span class="card-title">Reset Your Password</span>
|
|
<form method="POST">
|
|
{{ form.hidden_tag() }}
|
|
{% if form.email is defined %}
|
|
<div class="input-field">
|
|
{{ form.email(class='validate', type='email') }}
|
|
{{ form.email.label }}
|
|
</div>
|
|
{% endif %}
|
|
{% if form.password is defined %}
|
|
<div class="input-field">
|
|
{{ form.password(class='validate', type='password') }}
|
|
{{ form.password.label }}
|
|
{% for error in form.password.errors %}
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% if form.password2 is defined %}
|
|
<div class="input-field">
|
|
{{ form.password2(class='validate', type='password') }}
|
|
{{ form.password2.label }}
|
|
</div>
|
|
{% endif %}
|
|
<div class="card-action">
|
|
{{ form.submit(class='btn right') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|