fixed non-working password change

This commit is contained in:
artus40
2017-10-18 15:38:24 +02:00
parent dfc9a40800
commit 47365f8da8
3 changed files with 9 additions and 11 deletions

View File

@@ -10,13 +10,13 @@
<div class="panel-heading">
<h4 class="panel-header"> Modifier le mot de passe </h4>
</div>
<table class="table">
<form method="POST">
<div class="panel-body">
<form method="POST">
{% csrf_token %}
{{ password_change_form.as_table }}
<tr><td colspan="2" class="text-right"><input type="submit" value="Changer le mot de passe" class="btn btn-primary"></input></td></tr>
</form>
</table>
{% bootstrap_form password_change_form %}
<span class="text-right"><input type="submit" value="Changer le mot de passe" class="btn btn-primary"></input></td></tr>
</form>
</div>
</div>
</div>
{% endblock %}