Permalink
Browse files

Add search hints

  • Loading branch information...
1 parent 1b860b6 commit 967f68ea7a2c81d21d05cddabc13297631db5abc @rwdaigle committed Oct 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/gists/search.html.haml
@@ -4,7 +4,7 @@
.topsearch.command-bar-activated
= form_tag(search_gists_path, :method => "get", :id => "top_search_form", :class => "command_bar_form") do
.commandbar.focused
- = text_field_tag(:q, params[:q], :size => 50, :class => "mousetrap", :id => "command-bar", :placeholder => "Search your gists", :tabindex => "1", :autocomplete => "off")
+ = text_field_tag(:q, params[:q], :size => 50, :class => "mousetrap", :id => "command-bar", :placeholder => "Search your gists: this AND that \"this phrase\" -excluding", :tabindex => "1", :autocomplete => "off")
#results.display(style="display: #{!params[:q].blank? ? "block" : "none"};")
= render :partial => 'results'

0 comments on commit 967f68e

Please sign in to comment.