gestiojeux/accounts/templates/registration/account_settings.html

21 lines
453 B
HTML
Raw Normal View History

{% extends "small_page.html" %}
{% block "content" %}
<h1>Paramètres du compte</h1>
<p>Vous êtes connecté en tant que <tt>{{ request.user.email }}</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 %}