]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_search.html.erb
Add close button to 404 page
[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     <input type="text" name="query" value="<%= params[:query] %>" placeholder="<%= t('site.search.search') %>">
5     <%= link_to t('site.search.where_am_i'), '#', { :class => "describe_location", :title => t('site.search.where_am_i_title') } %>
6   </div>
7 <% end %>