Skip to content
Snippets Groups Projects
update.html 672 B
Newer Older
{% extends "base.html" %}

{% block "content" %}
	<h2>Changer mes informations</h2>

	<form method="post" action="{% url 'accounts:update' %}">
		{% csrf_token %}
		{{ update_form.as_html }}
		<br>
Dorian Lesbre's avatar
Dorian Lesbre committed
		<div class="flex">
			<input type="submit" value="Valider">
			<a class="button" href="{% url 'accounts:profile' %}">Annuler</a>
		</div>
	</form>

	<h2>Changer mon mot de passe</h2>

	<form method="post" action="{% url 'accounts:change_password' %}">
		{% csrf_token %}
		{{ password_form.as_html }}
Dorian Lesbre's avatar
Dorian Lesbre committed
		<div class="flex">
			<input type="submit" value="Valider">
			<a class="button" href="{% url 'accounts:profile' %}">Annuler</a>
		</div>
	</form>
{% endblock %}