]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace.rhtml
warn if user tries to upload 8bn traces at once
[rails.git] / app / views / trace / _trace.rhtml
index 095d662398eb2285900998e1f6a36050479aa52b..966ee9263fbabca9c0aeb7399c171e8a2bb060a9 100644 (file)
@@ -15,7 +15,7 @@
       ... <%= time_ago_in_words( trace.timestamp ) %>  ago</span>
       <%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id}, {:title => 'View Trace Details'} %> /
       <%= link_to_if trace.inserted?, 'map', {:controller => 'site', :action => 'index', :lat => trace.latitude, :lon => trace.longitude, :zoom => 14}, {:title => 'View Map'} %> /
-      <%= link_to_if trace.inserted?, 'edit', {:controller => 'site', :action => 'edit', :lat => trace.latitude, :lon => trace.longitude, :zoom => 14, :gpx => trace.id }, {:title => 'Edit Map'} %>
+      <%= link_to 'edit', {:controller => 'site', :action => 'edit', :gpx => trace.id }, {:title => 'Edit Map'} %>
       <br />
       <%= h(trace.description) %>
     <br />