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)"> <div class="6u 12u$(small)">
<h2>{% trans "Changement du mot de passe" %} :</h2> <h2>{% trans "Changement du mot de passe" %} :</h2>
{% if error %}
<p>{{ error }}</p>
{% endif %}
{% if success %} {% if success %}
<p>{% trans "Changement enregistré" %} !</p> <p>{% trans "Changement enregistré" %} !</p>
{% endif %} {% endif %}
<form action="{% url 'change_password' %}" method="post"> <form action="{% url 'change_password' %}" method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ 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> </form>
</div></div></div></section></div> </div></div></div></section></div>
{% endblock %} {% endblock %}