Restore the duplicate search form in the header
[rails.git] / app / views / layouts / _search.html.erb
1 <%= form_tag search_path, :class => "search_form" do %>
2   <%= submit_tag t('site.search.submit_text') %>
3   <div class='query_wrapper'>
4     <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus %>
5     <%= link_to t('site.search.where_am_i'), '#', { :class => "describe_location", :title => t('site.search.where_am_i_title') } %>
6   </div>
7 <% end %>