X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4cc2b63d5c38158e6beb114147be723425ec412e..054f934f27e79ab0f7a25a89b6b719cc2cb0cb06:/app/views/layouts/map.html.erb?ds=sidebyside diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 09c7d0d8e..d5666ed09 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -8,8 +8,10 @@ <%= submit_tag t('site.search.submit_text') %>
<%= text_field_tag :query, params[:query], - :placeholder => t('site.search.search'), - :autofocus => "autofocus" %> + :placeholder => t('site.search.search') %> + <%= link_to t('site.search.where_am_i'), + { :controller => :geocoder, :action => :description }, + { :id => "describe_location", :title => t('site.search.where_am_i_title') } %>
<% end %> @@ -20,7 +22,7 @@

<%= t 'layouts.osm_read_only' %>

<% end %> - <%= content_for :sidebar %> + <%= yield %> @@ -49,3 +51,5 @@ <% end %> + +<%= render :template => 'layouts/site' %>