Macro to add a search box
This doc was last edited by Administrator March 16, 2009.
plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 |
$def with (kw)
<form action="/search" method="GET">
$for k, v in kw.items():
<input type="hidden" name="ftokens" value="$facet_token(k, v)"/>
<input type="text" name="q" value=""/>
<input type="submit" name="btn" value="Go"/>
</form> |