]> git.plutz.net Git - shellwiki/commitdiff
search class for search form
authorPaul Hänsch <paul@plutz.net>
Fri, 22 Sep 2023 22:58:41 +0000 (00:58 +0200)
committerPaul Hänsch <paul@plutz.net>
Fri, 22 Sep 2023 22:58:41 +0000 (00:58 +0200)
themes/default.sh

index 5e38ee4583f743c9240464022648d864bee9aeaf..eb3d537442c41f90e4202ad47029e186fb6f38da 100755 (executable)
@@ -138,7 +138,7 @@ theme_search(){
   theme_page - <<-EOF
        <article>
          <h1>$([ "$words" ] && _ "Search results" || _ "Search" )</h1>
-         <form method=GET>
+         <form class="search" method="GET">
            <input class="search" name="q" value="$(HTML $words)"><button class="search" type="submit">$(_ Search)</button>
          </form>
          <ol class="searchresults">