diff options
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> |