forked from wiktor/spejstore-new
Autofocus search field on main page
This commit is contained in:
parent
09c1ac39bd
commit
f3d58aaee1
|
@ -5,7 +5,7 @@
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<div class="col-md-8 col-md-offset-2">
|
||||||
<form action="/search">
|
<form action="/search">
|
||||||
<div class="input-group input-group-lg">
|
<div class="input-group input-group-lg">
|
||||||
<input type="text" class="form-control" name="q" placeholder="search term">
|
<input type="text" class="form-control" name="q" placeholder="search term" autofocus>
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue