Use scrolling multiple choice widget in more places

This commit is contained in:
Raphael Michel
2017-10-17 11:40:17 +02:00
parent a2c5ce5ebc
commit 53bb2b2945
4 changed files with 13 additions and 5 deletions

View File

@@ -48,7 +48,9 @@ class QuestionForm(I18nModelForm):
'items'
]
widgets = {
'items': forms.CheckboxSelectMultiple,
'items': forms.CheckboxSelectMultiple(
attrs={'class': 'scrolling-multiple-choice'}
),
}