change of label

This commit is contained in:
Benni Bärmann 2020-10-19 14:46:58 +02:00
parent 4e7a0372c7
commit 1de0255582
1 changed files with 3 additions and 1 deletions

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):