X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..801182d2ead71631621dbd77dec486f6646f10a6:/app/views/browse/node.html.erb diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index 19aeb7dca..14e8aa503 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -16,7 +16,9 @@ <%= render :partial => "node_details", :object => @node %>
<%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "node", :action => "read"), - :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history") %> + :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history"), + :edit_link => link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id) + %> <%= render :partial => "map", :object => @node %>