Skip to content

Instantly share code, notes, and snippets.

@Showtimes
Created March 6, 2013 15:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Showtimes/5100252 to your computer and use it in GitHub Desktop.
.navbar-search{ :action => search_path, :method => "post" }
.input.search-query{ :name => "query", :class=>@query.blank? ? "swap_value" : "", :type => "text", :value => @query.blank? ? "Find your wine" : @query, :size => 80 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment