From 173dfe95825b8848c9e35340374d5563510203cc Mon Sep 17 00:00:00 2001 From: _Bastler Date: Thu, 11 Mar 2021 13:11:27 +0100 Subject: [PATCH] update --- pretix_digital_items/forms.py.save | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pretix_digital_items/forms.py.save diff --git a/pretix_digital_items/forms.py.save b/pretix_digital_items/forms.py.save new file mode 100644 index 0000000..2c265af --- /dev/null +++ b/pretix_digital_items/forms.py.save @@ -0,0 +1,11 @@ +from django import forms +from django.utils.translation import ugettext_lazy as _ +from pretix.base.forms import SettingsForm + + +class PretixDigitalItemsSettingsForm(SettingsForm): + digitalitems_token_mail_format = forms.CharField(lel=_("Token mail format"), + help_text=_("This text will be included for every token in an email. Available placeholder are {name} for the item name and {secret} for the token code.") + widget=forms.TextInput(attrs={'placeholder': '{name}: {secret}'}), + required=False) + digitalitems_token_export_format = forms.CharField(label=_("Token export format"), widget=forms.TextInput(attrs={'placeholder': '{name}: {secret}'}), required=False)