X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ad6bbd511df682a572c140a3212a13d6badf9668..4557654ba63392f0db4aa5c002be692395eb8cee:/app/views/layouts/map.html.erb diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 55953f004..d5666ed09 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -8,8 +8,7 @@ <%= 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') } %> @@ -23,7 +22,7 @@

<%= t 'layouts.osm_read_only' %>

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