mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
46 lines
1.6 KiB
Django/Jinja
46 lines
1.6 KiB
Django/Jinja
{% extends "base.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12 m4">
|
|
<h3>Change password</h3>
|
|
<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>
|
|
</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">vpn_key</i>
|
|
{{ form.old_password() }}
|
|
{{ form.old_password.label }}
|
|
{% for error in form.old_password.errors %}
|
|
<span class="helper-text red-text">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="input-field">
|
|
<i class="material-icons prefix">vpn_key</i>
|
|
{{ form.new_password() }}
|
|
{{ form.new_password.label }}
|
|
{% for error in form.new_password.errors %}
|
|
<span class="helper-text red-text">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="input-field">
|
|
<i class="material-icons prefix">vpn_key</i>
|
|
{{ form.new_password2() }}
|
|
{{ form.new_password2.label }}
|
|
{% for error in form.new_password2.errors %}
|
|
<span class="helper-text red-text">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ form.submit(class='btn') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|