2020-12-20 01:10:02 +01:00
|
|
|
{% extends "small_page.html" %}
|
|
|
|
|
|
|
|
{% block "content" %}
|
|
|
|
<h1>Paramètres du compte</h1>
|
|
|
|
|
2024-07-02 22:50:21 +02:00
|
|
|
<p>Vous êtes connecté en tant que <tt>{{ request.user }}</tt></p>
|
2020-12-20 01:10:02 +01:00
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form.as_p }}
|
|
|
|
<button type="submit">Enregistrer</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% if request.user.password and request.user.has_usable_password %}
|
|
|
|
<hr/>
|
|
|
|
|
2020-12-24 14:19:35 +01:00
|
|
|
<a href="{% url "accounts:change_password" %}">Changer mon mot de passe</a>
|
2020-12-20 01:10:02 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|