Implemented selection of mandants when posting blog items

This commit is contained in:
2016-06-23 15:03:12 +02:00
parent 6042838f28
commit 5c3c56ecc3
3 changed files with 48 additions and 45 deletions

View File

@@ -50,8 +50,8 @@ class BlogpostForm(ModelForm):
class MandantsForm(forms.Form):
mandants = forms.MultipleChoiceField(
label= "Mandanten",
widget=forms.CheckboxSelectMultiple()
label= "Posten in",
widget=forms.CheckboxSelectMultiple({'checked':'checked'})
)
class UserForm(forms.ModelForm):