Skip to content
Browse files

Merge pull request #91 from github/search-with-nojs

search now works when JS is disabled
  • Loading branch information...
2 parents cfdeacd + c022b79 commit ea8748e5b524149ea53fc103c15824084ea52003 @schacon schacon committed
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 ea8748e

Please sign in to comment.
Something went wrong with that request. Please try again.