diff template/links.jade.mustache @ 7:93d94f327e82

autocomplete in link page box Ignore-this: 9e2c68e81aaac5dcf25ddbbe6c1f25d6
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 06 Mar 2013 23:18:39 -0800
parents f8c4c7ce5f4a
children e054949143e9
line wrap: on
line diff
--- a/template/links.jade.mustache	Fri Mar 01 01:24:05 2013 -0800
+++ b/template/links.jade.mustache	Wed Mar 06 23:18:39 2013 -0800
@@ -11,11 +11,10 @@
       a(href="{{toRoot}}/addLink") Add link
     
     | Filter to: 
-    {{#pageTags}}  
-    a.tag(href="{{word}}") {{word}}
-    | 
-    {{/pageTags}}
-    input(type="text", id="filterTag")
+    select#filterTag(multiple='multiple', style='width: 300px', data-bind="selectedOptions: filterTags")
+      {{#allTags}}
+      option(value="{{label}}") {{label}} ({{count}})
+      {{/allTags}}
     
     {{#links}}
     .link