]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_search.html.erb
Forward the `comment` hash parameter to iD
[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>