From e24611fde9905468cd060fd6ca9690b6eefb4075 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 11 Dec 2017 14:15:29 +0100 Subject: [PATCH] Checkout UX: Change select-one questions to select boxes (thanks @rixx) --- src/pretix/presale/forms/checkout.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pretix/presale/forms/checkout.py b/src/pretix/presale/forms/checkout.py index 04782e6e5c..c8ee7de717 100644 --- a/src/pretix/presale/forms/checkout.py +++ b/src/pretix/presale/forms/checkout.py @@ -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: