mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2025-01-25 17:44:21 +00:00
Ajout des autres formulaire
This commit is contained in:
parent
97fff5d606
commit
0ea50dcebe
1 changed files with 3 additions and 16 deletions
|
@ -56,23 +56,8 @@ function submitBday() {
|
||||||
|
|
||||||
<form class="form" method="post">
|
<form class="form" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
{% if action_name == 'Change the password' %}
|
|
||||||
<div class="form-group">
|
|
||||||
{{ userform.selfpasswd.label_tag }}
|
|
||||||
{% render_field userform.selfpasswd class="form-control" requiered=True %}
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
{{ userform.passwd1.label_tag }}
|
|
||||||
{% render_field userform.passwd1 class="form-control" requiered=True %}
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
{{ userform.passwd2.label_tag }}
|
|
||||||
{% render_field userform.passwd2 class="form-control" requiered=True %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
{% if action_name == 'Create a user' or action_name == 'Create a club' %}
|
||||||
{% else %}
|
|
||||||
|
|
||||||
<h3>Informations générales</h3>
|
<h3>Informations générales</h3>
|
||||||
|
|
||||||
|
@ -212,6 +197,8 @@ function submitBday() {
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
{% massive_bootstrap_form userform 'room,school,administrators,members' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<button class="btn btn-success" type="submit">{{ action_name }}</button>
|
<button class="btn btn-success" type="submit">{{ action_name }}</button>
|
||||||
|
|
Loading…
Add table
Reference in a new issue