]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way.html.erb
f6e8b7f0182d1121f8d48f5c200723f9d1e6cb30
[rails.git] / app / views / browse / way.html.erb
1 <%
2 @name = printable_name @way
3 @title = t('browse.way.way') + ' | ' + @name
4 %>
5
6 <% content_for :head do %>
7   <%= stylesheet_link_tag 'browse' %>
8   <%= javascript_include_tag 'index' %>
9 <% end %>
10
11 <% content_for :sidebar do %>
12   <h2><%= t'browse.way.way_title', :way_name => @name %></h2>
13
14   <%= render :partial => "way_details", :object => @way %>
15
16   <ul class='secondary-actions clearfix'>
17     <li><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %></li>
18     <li><%= link_to(t('browse.way.view_history'), :action => "way_history") %></li>
19   </ul>
20 <% end %>
21
22 <%= render :template => 'layouts/map' %>