*Code wurde PEP-8 gerecht formatiert * Kleine Fehler die der PyCharm Inspector beanstandet wurden korrigiert
29 lines
872 B
HTML
29 lines
872 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans 'Password change' %}{% endblock %}
|
|
|
|
{% block callout %}
|
|
<div id="callout">
|
|
<h1>{% trans 'Password change' %}</h1>
|
|
<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<fieldset>
|
|
<legend>Passwort ändern:</legend>
|
|
<form method="post" action="" class="cmxform">
|
|
{%csrf_token%}
|
|
{% if form.errors %}<p class="error"> Es sind Fehler beim ändern des Passwortes aufgetreten</p>{% endif %}
|
|
{% include 'form.html' %}
|
|
<div class="buttonbar">
|
|
<button type="submit">
|
|
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans 'Login' %}" /> {% trans "Change Password" %}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</fieldset>
|
|
</div>
|
|
{% endblock %}
|