fix AddLinkForm widget complaining about missing template var class
This commit is contained in:
parent
78463c243a
commit
c28ad8bd1b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ ARCHIVE_METHODS = [
|
|||
|
||||
class AddLinkForm(forms.Form):
|
||||
url = forms.RegexField(label="URLs (one per line)", regex=URL_REGEX, min_length='6', strip=True, widget=forms.Textarea, required=True)
|
||||
depth = forms.ChoiceField(label="Archive depth", choices=CHOICES, widget=forms.RadioSelect, initial='0')
|
||||
depth = forms.ChoiceField(label="Archive depth", choices=CHOICES, initial='0', widget=forms.RadioSelect(attrs={"class": "depth-selection"}))
|
||||
archive_methods = forms.MultipleChoiceField(
|
||||
label="Archive methods (select at least 1, otherwise all will be used by default)",
|
||||
required=False,
|
||||
|
|
Loading…
Reference in a new issue