19 lines
429 B
HTML
19 lines
429 B
HTML
|
{% extends "base.html" %}
|
||
|
{% block titre %}Changement du mot de passe{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h2>Changement du mot de passe</h2>
|
||
|
{% if error %}
|
||
|
<p>{{ error }}</p>
|
||
|
{% endif %}
|
||
|
{% if success %}
|
||
|
<p>Changement enregistré !</p>
|
||
|
{% endif %}
|
||
|
<form action="{% url 'gestion.views.change_password' %}" method="post">
|
||
|
{% csrf_token %}
|
||
|
{{ form.as_p }}
|
||
|
<input type="submit" value="Valider" />
|
||
|
</form>
|
||
|
|
||
|
{% endblock %}
|