mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
A granted user can set active at creation
This commit is contained in:
parent
4f2c1dcbb4
commit
20e1ee3bb4
1 changed files with 14 additions and 0 deletions
|
@ -387,6 +387,20 @@ class AdherentCreationForm(AdherentForm):
|
|||
#gtu_check.label = mark_safe("{} <a href='/media/{}' download='CGU'>{}</a>{}".format(
|
||||
# _("I commit to accept the"), GeneralOption.get_cached_value('GTU'), _("General Terms of Use"), _(".")))
|
||||
|
||||
class Meta:
|
||||
model = Adherent
|
||||
fields = [
|
||||
'name',
|
||||
'surname',
|
||||
'pseudo',
|
||||
'email',
|
||||
'school',
|
||||
'comment',
|
||||
'telephone',
|
||||
'room',
|
||||
'state',
|
||||
]
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(AdherentCreationForm, self).__init__(*args, **kwargs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue