2 @name = printable_name @way
3 @title = t('browse.way_history.way_history') + ' | ' + @name
6 <% content_for :head do %>
7 <%= stylesheet_link_tag 'browse' %>
8 <%= javascript_include_tag 'index' %>
11 <% content_for :sidebar do %>
12 <h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
14 <% @way.old_ways.reverse.each do |way| %>
15 <%= render :partial => "way_details", :object => way %>
18 <ul class='secondary-actions clearfix'>
19 <li><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %></li>
20 <li><%= link_to(t('browse.way_history.view_details'), :action => "way") %></li>
24 <%= render :template => 'layouts/map' %>