diff --git a/users/forms.py b/users/forms.py index c295c61d..3c87ff93 100644 --- a/users/forms.py +++ b/users/forms.py @@ -380,6 +380,7 @@ class ClubForm(FormRevMixin, FieldPermissionFormMixin, ModelForm): prefix = kwargs.pop('prefix', self.Meta.model.__name__) super(ClubForm, self).__init__(*args, prefix=prefix, **kwargs) self.fields['surname'].label = _("Name") + self.fields['email'].label = _("Email address") self.fields['school'].label = _("School") self.fields['comment'].label = _("Comment") self.fields['room'].label = _("Room") @@ -392,6 +393,7 @@ class ClubForm(FormRevMixin, FieldPermissionFormMixin, ModelForm): fields = [ 'surname', 'pseudo', + 'email', 'school', 'comment', 'room', diff --git a/users/templates/users/user.html b/users/templates/users/user.html index 526c7447..ebc637b8 100644 --- a/users/templates/users/user.html +++ b/users/templates/users/user.html @@ -143,6 +143,11 @@ function submitBday() { } + {% elif action_name == 'Create a club' %} +