Minor fixes on the 'change passwd' template
This commit is contained in:
parent
7c281f926b
commit
e17b033aa5
1 changed files with 4 additions and 5 deletions
|
@ -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>
|
||||
{% endif %}
|
||||
|
||||
<form action="{% url 'change_password' %}" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="{% trans "Valider" %}" />   <a href="{% url 'change_membre' %}" class="button alt">{% trans "Retour" %}</a>
|
||||
<input type="submit" value="{% trans "Valider" %}" /> <a href="{% url 'change_membre' %}" class="button alt">{% trans "Retour" %}</a>
|
||||
</form>
|
||||
</div></div></div></section></div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue