update
This commit is contained in:
parent
d4c40a927a
commit
173dfe9582
11
pretix_digital_items/forms.py.save
Normal file
11
pretix_digital_items/forms.py.save
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user