Footer link form: Add placeholder (Z#23217115)

This commit is contained in:
Raphael Michel
2025-12-10 16:49:09 +01:00
parent 0e41353a0e
commit 904aa807a3
2 changed files with 14 additions and 0 deletions

View File

@@ -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):