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)">
|
<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" %}" />   <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>
|
</form>
|
||||||
</div></div></div></section></div>
|
</div></div></div></section></div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue