Add basic gallery-dl config form
This commit is contained in:
parent
f971344682
commit
42fefe2231
1 changed files with 11 additions and 6 deletions
|
@ -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"}),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue