Make search a GET to /search.
[zzz-floof.git] / floof / templates / base.mako
index 19f8455..e36f3ea 100644 (file)
@@ -10,8 +10,8 @@
 <div id="header">
 <a href="${h.url_for("/")}">Home</a>
 
-${h.form (h.url_for(controller="search", action="results"))}
-${h.text('query')} ${h.submit('search','Search')}
+${h.form(h.url_for(controller='search'), method='GET')}
+${h.text('query')} ${h.submit(None, 'Search')}
 ${h.end_form()}
 
     <div id="user">