diff --git a/digimarks.py b/digimarks.py
index 5a1364e..07e4080 100644
--- a/digimarks.py
+++ b/digimarks.py
@@ -95,6 +95,7 @@ class Bookmark(db.Model):
title = CharField(default='')
url = CharField()
+ note = TextField(default='')
#image = CharField(default='')
url_hash = CharField(default='')
tags = CharField(default='')
@@ -346,6 +347,7 @@ def updatebookmark(userkey, request, urlhash = None):
title = request.form.get('title')
url = request.form.get('url')
tags = request.form.get('tags')
+ note = request.form.get('note')
starred = False
if request.form.get('starred'):
starred = True
@@ -374,6 +376,7 @@ def updatebookmark(userkey, request, urlhash = None):
bookmark.url = url
bookmark.starred = starred
bookmark.set_tags(tags)
+ bookmark.note = note
bookmark.set_hash()
#bookmark.fetch_image()
if not title:
diff --git a/templates/bookmarks.html b/templates/bookmarks.html
index 1409efb..370775d 100644
--- a/templates/bookmarks.html
+++ b/templates/bookmarks.html
@@ -85,6 +85,9 @@
{% if bookmark.starred == True %}
star
{% endif %}
+ {% if bookmark.note %}
+
description
+ {% endif %}