Browse files

search now works when JS is disabled

I couldn't get elasticsearch configured locally, but it looks like the
GET string is the same with and without JS now. This was mentioned by
@encukou in #29 and should close that issue once this fix is verified.
  • Loading branch information...
1 parent a944d67 commit c022b7957f24fdbefd44343b6e2373e264f0073f @blackant blackant committed May 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/shared/_header.html.haml
View
4 app/views/shared/_header.html.haml
@@ -3,7 +3,7 @@
%span#tagline
=raw random_tagline
- %form#search
- <input id="search-text" placeholder="Search entire site..." autocomplete="off" type="text" />
+ %form#search{:action => '/search/results'}
+ <input id="search-text" name="search" placeholder="Search entire site..." autocomplete="off" type="text" />
%div#search-results

0 comments on commit c022b79

Please sign in to comment.