aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/bookmarks.html2
-rw-r--r--src/web/templates/edit_bookmark.html8
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>&nbsp;
- <a href="{{ bookmark.href }}">{{ ", ".join(bookmark.tags) }}</a>&nbsp;
+ <a href="{{ bookmark.href }}">{{ bookmark.tags }}</a>&nbsp;
<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%") }}
bgstack15