@name = printable_name @way
@title = t('browse.way_history.way_history') + ' | ' + @name
%>
+
<% content_for :head do %>
-<%= stylesheet_link_tag 'browse' %>
+ <%= stylesheet_link_tag 'browse' %>
+ <%= javascript_include_tag 'index' %>
<% end %>
-<% content_for :heading do %>
+<% content_for :sidebar do %>
<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
+
+ <% @way.old_ways.reverse.each do |way| %>
+ <%= render :partial => "way_details", :object => way %>
+ <% end %>
+
<ul class='secondary-actions clearfix'>
<li><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %></li>
<li><%= link_to(t('browse.way_history.view_details'), :action => "way") %></li>
</ul>
<% end %>
-<%= render :partial => "map", :object => @way %>
-<div class='column-1'>
-<% @way.old_ways.reverse.each do |way| %>
- <%= render :partial => "way_details", :object => way %>
-<% end %>
-</div>
\ No newline at end of file
+<%= render :template => 'layouts/map' %>