forked from CGM_Public/pretix_original
Footer link form: Add placeholder (Z#23217115)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user