diff --git a/src/pretix/control/forms/event.py b/src/pretix/control/forms/event.py index 2be60e9b6d..9a5dd1be0e 100644 --- a/src/pretix/control/forms/event.py +++ b/src/pretix/control/forms/event.py @@ -1958,6 +1958,13 @@ class EventFooterLinkForm(I18nModelForm): class Meta: model = EventFooterLink fields = ('label', 'url') + widgets = { + "url": forms.URLInput( + attrs={ + "placeholder": "https://..." + } + ) + } class BaseEventFooterLinkFormSet(I18nFormSetMixin, forms.BaseInlineFormSet): diff --git a/src/pretix/control/forms/organizer.py b/src/pretix/control/forms/organizer.py index c8f63914f6..a8632b8caf 100644 --- a/src/pretix/control/forms/organizer.py +++ b/src/pretix/control/forms/organizer.py @@ -1024,6 +1024,13 @@ class OrganizerFooterLinkForm(I18nModelForm): class Meta: model = OrganizerFooterLink fields = ('label', 'url') + widgets = { + "url": forms.URLInput( + attrs={ + "placeholder": "https://..." + } + ) + } class BaseOrganizerFooterLinkFormSet(I18nFormSetMixin, forms.BaseInlineFormSet):