mirror of
https://github.com/zebrajr/ArchiveBox.git
synced 2025-12-07 12:21:30 +01:00
8 lines
219 B
Python
8 lines
219 B
Python
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')
|