From 8bd82176356540b88eece24b96d7eb6a2260d718 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 12 Feb 2017 16:41:09 +0100 Subject: prototypefor bookmarks --- src/web/forms.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/web/forms.py') diff --git a/src/web/forms.py b/src/web/forms.py index 8088f27b..5957ceef 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")) + description = TextField(lazy_gettext("Description")) + extended = TextField(lazy_gettext("Description long")) + 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."))]) -- cgit