Checkout UX: Change select-one questions to select boxes (thanks @rixx)

This commit is contained in:
Raphael Michel
2017-12-11 14:15:29 +01:00
parent 7a077095ee
commit e24611fde9

View File

@@ -280,7 +280,8 @@ class QuestionsForm(forms.Form):
queryset=q.options.all(),
label=q.question, required=q.required,
help_text=q.help_text,
widget=forms.RadioSelect,
widget=forms.Select,
empty_label='',
initial=initial.options.first() if initial else None,
)
elif q.type == Question.TYPE_CHOICE_MULTIPLE: