]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_search.html.erb
Merge remote-tracking branch 'origin/master' into routing
[rails.git] / app / views / layouts / _search.html.erb
index 839b3dceca6106b270fef6d3ed06be633fc29e84..9ac3eae33ab244c2854755714e7104f8922d8a8d 100644 (file)
@@ -1,9 +1,11 @@
-<%= form_tag search_path, :class => "search_form" do %>
+<form method="GET" action="<%= search_path %>" class="search_form">
+
   <div class='query_options search'>
     <%= link_to t('site.search.where_am_i'), '#', { :class => "describe_location", :title => t('site.search.where_am_i_title') } %>
     &middot;
     <%= link_to t('site.search.get_directions'), '#', { :class => "get_directions", :title => t('site.search.get_directions_title') } %>
   </div>
+
   <div class='query_options routing'>
     <%= link_to t('site.search.close_directions'), '#', { :class => "close_directions", :title => t('site.search.close_directions_title') } %>
   </div>
@@ -23,4 +25,4 @@
     <%= image_tag "searching-small.gif", :class => 'spinner', :style => "vertical-align: middle; display: none;" %>
   </div>
 
-<% end %>
+</form>