forked from DGNum/gestiojeux
fee31ab07b
Be careful there is no User migration
20 lines
447 B
HTML
20 lines
447 B
HTML
{% extends "small_page.html" %}
|
|
|
|
{% block "content" %}
|
|
<h1>Paramètres du compte</h1>
|
|
|
|
<p>Vous êtes connecté en tant que <tt>{{ request.user }}</tt></p>
|
|
|
|
<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/>
|
|
|
|
<a href="{% url "accounts:change_password" %}">Changer mon mot de passe</a>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|