diff options
author | luxagraf <sng@luxagraf.net> | 2025-04-07 16:38:45 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2025-04-07 16:38:45 -0500 |
commit | 17a5f9bd32a1552c3402a9f1168a4926b6398cef (patch) | |
tree | 917f3d780ae83c43a0e9107b2240b8e91bfae037 /app/notes/templates/note_list.html | |
parent | 514c54dc0667519454df050c1beb76e663d43681 (diff) |
notes: added current tag to selected
Diffstat (limited to 'app/notes/templates/note_list.html')
-rw-r--r-- | app/notes/templates/note_list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notes/templates/note_list.html b/app/notes/templates/note_list.html index 7b6d717..727c21d 100644 --- a/app/notes/templates/note_list.html +++ b/app/notes/templates/note_list.html @@ -11,7 +11,7 @@ <select class="form-control" style="margin-top: 2%;" onchange="go_from_select(this.options[this.selectedIndex].value)"> <option value="">All Projects</option>{% for object in tags %} - <option {% if object.Tag == project %}selected="selected" {%endif%}value="?tag={{object}}">{{object}}</option>{%endfor%} + <option {% if current == object.name %}selected="selected" {%endif%}value="?tag={{object}}">{{object}}</option>{%endfor%} </select> </div> <div class="note-list">{% for object in object_list %}<article> |