diff options
Diffstat (limited to 'src/web/templates')
-rw-r--r-- | src/web/templates/bookmarks.html | 2 | ||||
-rw-r--r-- | src/web/templates/edit_bookmark.html | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/web/templates/bookmarks.html b/src/web/templates/bookmarks.html index 9e6f0ab1..fc0e3aaa 100644 --- a/src/web/templates/bookmarks.html +++ b/src/web/templates/bookmarks.html @@ -6,7 +6,7 @@ {% for bookmark in bookmarks %} <li class="list-group-item"> <a href="{{ bookmark.href }}">{{ bookmark.href }}</a> - <a href="{{ bookmark.href }}">{{ ", ".join(bookmark.tags) }}</a> + <a href="{{ bookmark.href }}">{{ bookmark.tags }}</a> <a href="{{ url_for('bookmark.form', bookmark_id=bookmark.id) }}">edit</a> </li> {% endfor %} diff --git a/src/web/templates/edit_bookmark.html b/src/web/templates/edit_bookmark.html index 8dc0cba3..384e641c 100644 --- a/src/web/templates/edit_bookmark.html +++ b/src/web/templates/edit_bookmark.html @@ -14,6 +14,14 @@ </div> <div class="form-group"> + <label for="{{ form.title.id }}" class="col-sm-3 control-label">{{ form.title.label }}</label> + <div class="col-sm-9"> + {{ form.title(class_="form-control", size="100%") }} + </div> + {% for error in form.title.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + </div> + + <div class="form-group"> <label for="{{ form.description.id }}" class="col-sm-3 control-label">{{ form.description.label }}</label> <div class="col-sm-9"> {{ form.description(class_="form-control", size="100%") }} |