Add basic gallery-dl config form

This commit is contained in:
Aroy-Art 2024-12-04 21:11:43 +01:00
parent f971344682
commit 42fefe2231
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -8,10 +8,15 @@ class ImportSourceURLsForm(forms.Form):
label="Add URL",
required=True,
widget=forms.TextInput(
attrs={
'placeholder': 'https://example.com',
'class': 'form-control'
}
)
)
attrs={"placeholder": "https://example.com", "class": "form-control"}
),
)
class GalleryDLConfigForm(forms.Form):
text = forms.CharField(
label="GalleryDL Config",
required=True,
widget=forms.Textarea(attrs={"class": "form-control"}),
)