Show current query in the search box

This commit is contained in:
Eelco Dolstra 2013-02-22 16:44:39 +01:00
parent 08dc6650e1
commit f5a2859ce2

View file

@ -189,7 +189,7 @@
<div class="pull-right">
<form class="navbar-search" action="[% c.uri_for('/search') %]">
<input name="query" type="text" class="search-query span2" placeholder="Search"></input>
<input name="query" type="text" class="search-query span2" placeholder="Search" [% HTML.attributes(value => c.req.params.query) %]></input>
</form>
<ul class="nav" id="top-menu">