Minor fixes on the 'change passwd' template

This commit is contained in:
Martin Pépin 2020-09-12 14:23:04 +02:00
parent 7c281f926b
commit e17b033aa5
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

@ -10,16 +10,15 @@
<div class="6u 12u$(small)">
<h2>{% trans "Changement du mot de passe" %} :</h2>
{% if error %}
<p>{{ error }}</p>
{% endif %}
{% if success %}
<p>{% trans "Changement enregistré" %} !</p>
<p>{% trans "Changement enregistré" %} !</p>
{% endif %}
<form action="{% url 'change_password' %}" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="{% trans "Valider" %}" /> &nbsp <a href="{% url 'change_membre' %}" class="button alt">{% trans "Retour" %}</a>
<input type="submit" value="{% trans "Valider" %}" /> &nbsp; <a href="{% url 'change_membre' %}" class="button alt">{% trans "Retour" %}</a>
</form>
</div></div></div></section></div>
{% endblock %}