]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node.html.erb
Moved oauth_clients page to a sub-page of the user - makes it more obvious that the...
[rails.git] / app / views / browse / node.html.erb
index 19aeb7dcafbe6da89dfec232f7d5219870c5e9ed..14e8aa503bcc35d40dee649d962f0cc6fcc7b729 100644 (file)
@@ -16,7 +16,9 @@
       <%= render :partial => "node_details", :object => @node %>
       <hr />
       <%= 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)
+      %>
     </td>
     <%= render :partial => "map", :object => @node %>
   </tr>