mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
39 lines
1.3 KiB
Django/Jinja
39 lines
1.3 KiB
Django/Jinja
{% extends "base.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12 m8 offset-m2">
|
|
<div class="card">
|
|
<form method="POST">
|
|
<div class="card-content">
|
|
<span class="card-title">Reset Your Password</span>
|
|
{{ form.hidden_tag() }}
|
|
<div class="input-field">
|
|
{{ form.email(class='validate', type='email') }}
|
|
{{ form.email.label }}
|
|
{% for error in form.email.errors %}
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<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>
|
|
<div class="input-field">
|
|
{{ form.password2(class='validate', type='password') }}
|
|
{{ 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">
|
|
{{ form.submit(class='btn right') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|