Allow to enter a custom text that needs to be confirmed during checkout

This commit is contained in:
Raphael Michel
2017-09-25 12:48:31 +02:00
parent 244b767f8f
commit 110d7c6acf
4 changed files with 27 additions and 1 deletions

View File

@@ -339,6 +339,13 @@ class EventSettingsForm(SettingsForm):
label=_("Imprint URL"),
required=False,
)
confirm_text = forms.CharField(
label=_('Confirmation text'),
help_text=_('This text needs to be confirmed by the user before a purchase is possible. You could for example '
'link your terms of service here. If you use the Pages feature to publish your terms of service, '
'you don\'t need this setting since you can configure it there.'),
widget=forms.Textarea(attrs={"rows": 3})
)
contact_mail = forms.EmailField(
label=_("Contact address"),
required=False,