]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way.html.erb
Allow users to send themselves a new confirmation email
[rails.git] / app / views / browse / way.html.erb
1 <%
2 @name = printable_name @way
3 @title = t('browse.way.way') + ' | ' + @name
4 %>
5 <% content_for :head do %>
6 <%= stylesheet_link_tag 'browse' %>
7 <% end %>
8 <%= render :partial => "navigation" %>
9 <h2><%= t'browse.way.way_title', :way_name => h(@name) %></h2>
10 <%= render :partial => "map", :object => @way %>
11 <%= render :partial => "way_details", :object => @way %>
12 <hr />
13 <%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
14 | <%= link_to(t('browse.way.view_history'), :action => "way_history") %>
15 <% unless @midnode.nil? %>
16   | <%= link_to(t('browse.way.edit'), :controller => "site", :action => "edit", :way => @way.id, :lat => @midnode.lat, :lon => @midnode.lon, :zoom => 16) %>
17 <% end %>