change of label

This commit is contained in:
Benni Baermann 2020-10-19 14:46:58 +02:00
parent 4e7a0372c7
commit 1de0255582

View file

@ -15,11 +15,13 @@ class ProjectForm(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:
model = Volunteer
fields = '__all__'
# labels = {'choice': 'Was möchtest Du beantragen?'}
class LibraryForm(ModelForm):