1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-17 11:35:56 +02:00

Birth date is only for participants

This commit is contained in:
Emmy D'Anello
2023-01-10 20:31:43 +01:00
parent 63a10c1be5
commit 0f176ea4c6
9 changed files with 252 additions and 109 deletions

View File

@ -101,8 +101,8 @@ class StudentRegistrationForm(forms.ModelForm):
"""
class Meta:
model = StudentRegistration
fields = ('team', 'student_class', 'birth_date', 'gender', 'address', 'phone_number', 'health_issues',
'school', 'responsible_name', 'responsible_phone', 'responsible_email',
fields = ('team', 'student_class', 'birth_date', 'gender', 'address', 'zip_code', 'city', 'phone_number',
'health_issues', 'school', 'responsible_name', 'responsible_phone', 'responsible_email',
'give_contact_to_animath', 'email_confirmed',)
@ -178,8 +178,8 @@ class CoachRegistrationForm(forms.ModelForm):
"""
class Meta:
model = CoachRegistration
fields = ('team', 'birth_date', 'gender', 'address', 'phone_number', 'health_issues', 'professional_activity',
'give_contact_to_animath', 'email_confirmed',)
fields = ('team', 'gender', 'address', 'zip_code', 'city', 'phone_number', 'health_issues',
'professional_activity', 'give_contact_to_animath', 'email_confirmed',)
class VolunteerRegistrationForm(forms.ModelForm):