diff --git a/users/templates/users/user.html b/users/templates/users/user.html index dbf732fa..fbac1546 100644 --- a/users/templates/users/user.html +++ b/users/templates/users/user.html @@ -56,23 +56,8 @@ function submitBday() {
{% csrf_token %} - - {% if action_name == 'Change the password' %} -
- {{ userform.selfpasswd.label_tag }} - {% render_field userform.selfpasswd class="form-control" requiered=True %} -
-
- {{ userform.passwd1.label_tag }} - {% render_field userform.passwd1 class="form-control" requiered=True %} -
-
- {{ userform.passwd2.label_tag }} - {% render_field userform.passwd2 class="form-control" requiered=True %} -
- - {% else %} + {% if action_name == 'Create a user' or action_name == 'Create a club' %}

Informations générales

@@ -212,6 +197,8 @@ function submitBday() { + {% else %} + {% massive_bootstrap_form userform 'room,school,administrators,members' %} {% endif %}