Merge remote-tracking branch 'upstream/master' into vagrant
[rails.git] / app / views / layouts / _search.html.erb
1 <form method="GET" action="<%= search_path %>" class="search_form">
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 </form>