]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/map.html.erb
Restore "Where am I?"
[rails.git] / app / views / layouts / map.html.erb
index 09c7d0d8e90646335db7661a816fbe8cc06f5223..55953f004e510269fb474a34b414c21f6d9caf6b 100644 (file)
@@ -10,6 +10,9 @@
         <%= text_field_tag :query, params[:query],
                            :placeholder => t('site.search.search'),
                            :autofocus => "autofocus" %>
+        <%= link_to t('site.search.where_am_i'),
+                    { :controller => :geocoder, :action => :description },
+                    { :id => "describe_location", :title => t('site.search.where_am_i_title') } %>
       </div>
     <% end %>