Browse Source

change of label

master
Benni Baermann 4 years ago
parent
commit
1de0255582
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      input/forms.py

+ 3
- 1
input/forms.py View File

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

Loading…
Cancel
Save