8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-07 02:16:26 +00:00

Merge branch 'fix_mail_club' into 'dev'

Ajout du champ mail lors de la création d'un club

See merge request federez/re2o!353
This commit is contained in:
chirac 2018-11-08 22:31:11 +01:00
commit 5e4e9e3f76

View file

@ -429,6 +429,7 @@ class ClubForm(FormRevMixin, FieldPermissionFormMixin, ModelForm):
self.fields['surname'].label = _("Name")
self.fields['school'].label = _("School")
self.fields['comment'].label = _("Comment")
self.fields['email'].label = _("Email Address")
if 'room' in self.fields:
self.fields['room'].label = _("Room")
self.fields['room'].empty_label = _("No room")
@ -444,6 +445,7 @@ class ClubForm(FormRevMixin, FieldPermissionFormMixin, ModelForm):
'comment',
'room',
'telephone',
'email',
'shell',
'mailing'
]