diff --git a/static/html/500.html b/static/html/500.html index 9a71bfe..bb89c4e 100644 --- a/static/html/500.html +++ b/static/html/500.html @@ -13,7 +13,7 @@ <div id="global-header"> <h1 class="logo"><a href="/">Quickdocs</a></h1> <form class="search-form" method="get" action="/search"> - <input type="text" name="q" value="" placeholder="Search for projects" /> + <input type="text" name="q" value="" placeholder="Search for projects" autofocus/> <input type="submit" class="lsf" value="search" /> </form> </div> diff --git a/static/html/50x.html b/static/html/50x.html index 4f064e7..21ef49c 100644 --- a/static/html/50x.html +++ b/static/html/50x.html @@ -13,7 +13,7 @@ <div id="global-header"> <h1 class="logo"><a href="/">Quickdocs</a></h1> <form class="search-form" method="get" action="/search"> - <input type="text" name="q" value="" placeholder="Search for projects" /> + <input type="text" name="q" value="" placeholder="Search for projects" autofocus/> <input type="submit" class="lsf" value="search" /> </form> </div> diff --git a/templates/_errors/404.html b/templates/_errors/404.html index 0a8a121..c9f7fb4 100644 --- a/templates/_errors/404.html +++ b/templates/_errors/404.html @@ -13,7 +13,7 @@ <div id="global-header"> <h1 class="logo"><a href="/">Quickdocs</a></h1> <form class="search-form" method="get" action="/search"> - <input type="text" name="q" value="" placeholder="Search for projects" /> + <input type="text" name="q" value="" placeholder="Search for projects" autofocus/> <input type="submit" class="lsf" value="search" /> </form> </div> diff --git a/templates/partials/header.html b/templates/partials/header.html index b6c9398..e529e61 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -1,7 +1,7 @@ <div id="global-header"> <h1 class="logo"><a href="/">Quickdocs</a></h1> <form class="search-form" method="get" action="/search"> - <input type="text" name="q" value="{{ query }}" placeholder="Search for projects" /> + <input type="text" name="q" value="{{ query }}" placeholder="Search for projects" autofocus/> <input type="submit" class="lsf" value="search" /> </form> </div>