Add setting to disable copy-answers-button (#1778)

This commit is contained in:
Felix Rindt
2020-09-22 18:09:44 +02:00
committed by GitHub
parent 2f8baecd68
commit 59595c9db8
4 changed files with 16 additions and 2 deletions

View File

@@ -1825,6 +1825,15 @@ Your {event} team"""))
'seating_distance_within_row': {
'default': 'False',
'type': bool
},
'checkout_show_copy_answers_button': {
'default': 'True',
'type': bool,
'form_class': forms.BooleanField,
'serializer_class': serializers.BooleanField,
'form_kwargs': dict(
label=_("Show button to copy user input from other products"),
),
}
}
PERSON_NAME_TITLE_GROUPS = OrderedDict([