gestiojeux/accounts/templates/registration/account_settings.html
sinavir fee31ab07b feat: switch to authens
Be careful there is no User migration
2024-07-04 18:15:57 +02:00

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 %}