mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Checkout UX: Change select-one questions to select boxes (thanks @rixx)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user