diff options
author | Julien Dessaux | 2021-09-14 17:23:41 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-14 17:23:41 +0200 |
commit | eab06cc1ef988c01f03f688f5e1f31c458223b32 (patch) | |
tree | 5cbd8d6e829fe63d1e104889b2f4ed8f6ce28198 /search | |
parent | Fixed mistake in gitignore (diff) | |
download | www-eab06cc1ef988c01f03f688f5e1f31c458223b32.tar.gz www-eab06cc1ef988c01f03f688f5e1f31c458223b32.tar.bz2 www-eab06cc1ef988c01f03f688f5e1f31c458223b32.zip |
Added autofocus to the search field
Diffstat (limited to '')
-rw-r--r-- | search/search.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/search.html b/search/search.html index 74041ab..edd598a 100644 --- a/search/search.html +++ b/search/search.html @@ -1,6 +1,6 @@ {{ define "search" }} <form action="/search/" method="post"> - <input class="fullwidth" type="text" placeholder="Enter your search terms here" name="query" value="{{ .Query }}" required><br> + <input class="fullwidth" type="text" placeholder="Enter your search terms here" name="query" value="{{ .Query }}" required autofocus><br> <input type="checkbox" id="searchTitle" name="searchTitle" value="true"{{ if .SearchTitle }} checked{{ end }}><label for="searchTitle">Titles</label> <input type="checkbox" id="searchTags" name="searchTags" value="true"{{ if .SearchTags }} checked{{ end }}><label for="searchTags">Tags</label> <input type="checkbox" id="searchDescription" name="searchDescription" value="true"{{ if .SearchDescription }} checked{{ end }}><label for="searchDescription">Descriptions</label> |