diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-02-13 15:27:13 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-02-13 15:27:13 +0100 |
commit | 879427aa740f399aecd31c0e12909e6f39705f5e (patch) | |
tree | 5bb2d792e7211c763db550eaf8f0c676e37aa25a /src/web/templates | |
parent | Merge branch 'master' of github.com:newspipe/newspipe into bookmark (diff) | |
download | newspipe-879427aa740f399aecd31c0e12909e6f39705f5e.tar.gz newspipe-879427aa740f399aecd31c0e12909e6f39705f5e.tar.bz2 newspipe-879427aa740f399aecd31c0e12909e6f39705f5e.zip |
wip
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%") }} |