]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/map.html.erb
Fix root link
[rails.git] / app / views / layouts / map.html.erb
index 7019224861b69bf76006196dec15971b663d7bdd..6e6caf95c6360cb98da014f713d9262a1af96f62 100644 (file)
@@ -2,6 +2,8 @@
   <%= javascript_include_tag "index" %>
 <% end %>
 
+<% content_for(:body_class) { "map-layout" } %>
+
 <% content_for :content do %>
   <div id="sidebar">
     <%= form_tag url_for(:controller => :geocoder, :action => :search), :id => "search_form" do %>
@@ -22,7 +24,7 @@
         <p class="alert"><%= t 'layouts.osm_read_only' %></p>
       <% end %>
 
-      <%= content_for :sidebar %>
+      <%= yield %>
     </div>
   </div>
 
@@ -51,3 +53,5 @@
     </table>
   </div>
 <% end %>
+
+<%= render :template => 'layouts/site' %>