mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
Remove redundant form option
This commit is contained in:
@@ -397,11 +397,6 @@ class EventSettingsForm(SettingsForm):
|
|||||||
required=False,
|
required=False,
|
||||||
help_text=_("We'll show this publicly to allow attendees to contact you.")
|
help_text=_("We'll show this publicly to allow attendees to contact you.")
|
||||||
)
|
)
|
||||||
cancel_allow_user = forms.BooleanField(
|
|
||||||
label=_("Allow users to cancel unpaid orders"),
|
|
||||||
help_text=_("If checked, users can cancel orders by themselves as long as they are not yet paid."),
|
|
||||||
required=False
|
|
||||||
)
|
|
||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
data = super().clean()
|
data = super().clean()
|
||||||
|
|||||||
@@ -68,7 +68,6 @@
|
|||||||
{% bootstrap_field sform.order_email_asked_twice layout="control" %}
|
{% bootstrap_field sform.order_email_asked_twice layout="control" %}
|
||||||
{% bootstrap_field sform.attendee_emails_asked layout="control" %}
|
{% bootstrap_field sform.attendee_emails_asked layout="control" %}
|
||||||
{% bootstrap_field sform.attendee_emails_required layout="control" %}
|
{% bootstrap_field sform.attendee_emails_required layout="control" %}
|
||||||
{% bootstrap_field sform.cancel_allow_user layout="control" %}
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{% trans "Waiting list" %}</legend>
|
<legend>{% trans "Waiting list" %}</legend>
|
||||||
|
|||||||
Reference in New Issue
Block a user