mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-08-04 14:31:12 +02:00
@@ -44,7 +44,7 @@ class WEIRegistrationForm(forms.ModelForm):
|
||||
fields = [
|
||||
'user', 'soge_credit', 'birth_date', 'gender', 'clothing_size',
|
||||
'health_issues', 'emergency_contact_name', 'emergency_contact_phone',
|
||||
'first_year', 'information_json', 'deposit_check', 'deposit_type'
|
||||
'first_year', 'information_json', 'deposit_given', 'deposit_type'
|
||||
]
|
||||
widgets = {
|
||||
"user": Autocomplete(
|
||||
@@ -59,8 +59,8 @@ class WEIRegistrationForm(forms.ModelForm):
|
||||
'minDate': '1900-01-01',
|
||||
'maxDate': '2100-01-01'
|
||||
}),
|
||||
"deposit_check": forms.BooleanField(
|
||||
required=False,
|
||||
"deposit_given": forms.CheckboxInput(
|
||||
attrs={'class': 'form-check-input'},
|
||||
),
|
||||
"deposit_type": forms.RadioSelect(),
|
||||
}
|
||||
@@ -161,7 +161,7 @@ class WEIMembership1AForm(WEIMembershipForm):
|
||||
"""
|
||||
Used to confirm registrations of first year members without choosing a bus now.
|
||||
"""
|
||||
deposit_check = None
|
||||
deposit_given = None
|
||||
roles = None
|
||||
|
||||
def clean(self):
|
||||
|
Reference in New Issue
Block a user