mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-09 03:16:25 +00:00
Supprime l'avatar à la création (inutile/buggé)
This commit is contained in:
parent
53dd1920d7
commit
4003856b47
1 changed files with 2 additions and 2 deletions
|
@ -330,6 +330,7 @@ class AdherentForm(FormRevMixin, FieldPermissionFormMixin, ModelForm):
|
||||||
self.fields["email"].label = _("Email address")
|
self.fields["email"].label = _("Email address")
|
||||||
self.fields["school"].label = _("School")
|
self.fields["school"].label = _("School")
|
||||||
self.fields["comment"].label = _("Comment")
|
self.fields["comment"].label = _("Comment")
|
||||||
|
if "profile_image" in self.fields:
|
||||||
self.fields["profile_image"].label = _("Profile Image")
|
self.fields["profile_image"].label = _("Profile Image")
|
||||||
if "room" in self.fields:
|
if "room" in self.fields:
|
||||||
self.fields["room"].label = _("Room")
|
self.fields["room"].label = _("Room")
|
||||||
|
@ -470,7 +471,6 @@ class AdherentCreationForm(AdherentForm):
|
||||||
"school",
|
"school",
|
||||||
"comment",
|
"comment",
|
||||||
"telephone",
|
"telephone",
|
||||||
"profile_image",
|
|
||||||
"room",
|
"room",
|
||||||
"state",
|
"state",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue