saved searches is going awesome. Partial work on adding them as galleries
[zzz-floof.git] / floof / templates / searches.mako
diff --git a/floof/templates/searches.mako b/floof/templates/searches.mako
new file mode 100644 (file)
index 0000000..cdfbfea
--- /dev/null
@@ -0,0 +1,8 @@
+<%inherit file="base.mako" />
+
+<ul>
+% for search in c.searches:
+<li><a href="${h.url_for(controller="search", action="index")}?query=${search}">${search}</a>
+    - <a href="${h.url_for(controller="search", action="display", id=search.id)}">(display on your page)</a>
+% endfor
+</ul>
\ No newline at end of file