forked from lix-project/hydra
Show current query in the search box
This commit is contained in:
parent
08dc6650e1
commit
f5a2859ce2
|
@ -189,7 +189,7 @@
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
|
||||||
<form class="navbar-search" action="[% c.uri_for('/search') %]">
|
<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>
|
</form>
|
||||||
|
|
||||||
<ul class="nav" id="top-menu">
|
<ul class="nav" id="top-menu">
|
||||||
|
|
Loading…
Reference in a new issue