]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/view.rhtml
Began code for feature lookup: implemented code to respond to mouse click and latlon...
[rails.git] / app / views / trace / view.rhtml
index 60f71b7c7482eec5b0fb1c8cd2be5e8a7eaf2f9f..a5b0cef099b3636614b7b6c01f52c7d71d9d47c8 100644 (file)
@@ -50,6 +50,9 @@
     <td><%= button_to 'Make this track public permanently', :controller => 'trace', :action => 'make_public', :id => @trace.id %></td>
     <% end %>
     <% if @trace.user.id == @user.id %>
+    <td><%= button_to 'Edit this track', :controller => 'trace', :action => 'edit', :id => @trace.id %></td>
+    <% end %>
+    <% if @trace.user.id == @user.id %>
     <td><%= button_to 'Delete this track', :controller => 'trace', :action => 'delete', :id => @trace.id %></td>
     <% end %>
   </tr>