<%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>