<%
-@name = printable_name @way
-@title = t('browse.way_history.way_history') + ' | ' + @name
+ @name = printable_name @way
+ set_title(t('browse.way_history.way_history') + ' | ' + @name)
%>
-<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
- <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+<h2>
+ <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= 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 %>
-<div class='secondary-actions clearfix'>
- <span><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
- ·
- <%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
+<div class='secondary-actions'>
+ <%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
+ ·
+ <%= link_to(t('browse.way_history.view_details'), :action => "way") %>
</div>