From 1de0255582f1660ae5a181d9543ba68c82cf467f Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Mon, 19 Oct 2020 14:46:58 +0200 Subject: [PATCH] change of label --- input/forms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/input/forms.py b/input/forms.py index 3e0d865..a243cfe 100644 --- a/input/forms.py +++ b/input/forms.py @@ -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):