aboutsummaryrefslogtreecommitdiff
path: root/src/web/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/forms.py')
-rw-r--r--src/web/forms.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/web/forms.py b/src/web/forms.py
index 8088f27b..4d44f379 100644
--- a/src/web/forms.py
+++ b/src/web/forms.py
@@ -204,6 +204,16 @@ class CategoryForm(Form):
submit = SubmitField(lazy_gettext("Save"))
+class BookmarkForm(Form):
+ href = TextField(lazy_gettext("URL"))
+ title = TextField(lazy_gettext("Title"))
+ description = TextField(lazy_gettext("Description"))
+ tags = TextField(lazy_gettext("Tags"))
+ to_read = BooleanField(lazy_gettext("To read"), default=False)
+ shared = BooleanField(lazy_gettext("Shared"), default=False)
+ submit = SubmitField(lazy_gettext("Save"))
+
+
class InformationMessageForm(Form):
subject = TextField(lazy_gettext("Subject"),
[validators.Required(lazy_gettext("Please enter a subject."))])
bgstack15