Created
September 1, 2008 16:23
-
-
Save teamon/8318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#search_box | |
%h2 Znajdz produkt lub usługę » Sprawdz rekomendację » Wyślij zapytanie | |
- form_tag :action => search_url_from_controller_name(controller_name) do | |
= text_field :name => 'search', :value => params[:search].blank? ? 'Search text'.t : params[:search].gsub('+', ' ') | |
= submit_field :value => 'Search'.t, :class => 'submit' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment