mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
feat: Allow feed loading from the add links view
This commit is contained in:
parent
f373df7bd4
commit
8bdfa18a3f
3 changed files with 38 additions and 12 deletions
7
archivebox/core/forms.py
Normal file
7
archivebox/core/forms.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from django import forms
|
||||
|
||||
CHOICES = (('url', 'URL'), ('feed', 'Feed'))
|
||||
|
||||
class AddLinkForm(forms.Form):
|
||||
url = forms.URLField()
|
||||
source = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect, initial='url')
|
Loading…
Add table
Add a link
Reference in a new issue