|
@ -15,11 +15,13 @@ class ProjectForm(ModelForm): |
|
|
|
|
|
|
|
|
class VolunteerForm(ModelForm): |
|
|
class VolunteerForm(ModelForm): |
|
|
|
|
|
|
|
|
choice = ChoiceField(choices=TYPE_CHOICES, widget=RadioSelect) |
|
|
|
|
|
|
|
|
choice = ChoiceField(choices=TYPE_CHOICES, widget=RadioSelect, |
|
|
|
|
|
label='Was möchtest Du beantragen?') |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
|
model = Volunteer |
|
|
model = Volunteer |
|
|
fields = '__all__' |
|
|
fields = '__all__' |
|
|
|
|
|
# labels = {'choice': 'Was möchtest Du beantragen?'} |
|
|
|
|
|
|
|
|
class LibraryForm(ModelForm): |
|
|
class LibraryForm(ModelForm): |
|
|
|
|
|
|
|
|