Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

search now works when JS is disabled
  • Loading branch information...
commit ea8748e5b524149ea53fc103c15824084ea52003 2 parents cfdeacd + c022b79
@schacon schacon authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.