]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/edit.html.erb
Isolate object names from the database with a <bdi> tag
[rails.git] / app / views / trace / edit.html.erb
index d9ec9f14b7d94cc632ca824607c4ec2edfc07195..200f6aa26fd4f9c9a3f36e85386594606bde74fa 100644 (file)
@@ -32,7 +32,7 @@
       <span class="latitude"><%= @trace.latitude %></span>;
       <span class="longitude"><%= @trace.longitude %></span>
     </div>
-    (<%=link_to t('trace.edit.map'), :controller => 'site', :action => 'index', :lat => @trace.latitude, :lon => @trace.longitude, :zoom => 14 %> / <%=link_to t('trace.edit.edit'), :controller => 'site', :action => 'edit', :lat => @trace.latitude, :lon => @trace.longitude, :gpx=> @trace.id, :zoom => 14 %>)
+    (<%=link_to t('trace.edit.map'), :controller => 'site', :action => 'index', :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%=link_to t('trace.edit.edit'), :controller => 'site', :action => 'edit', :gpx=> @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>)
   </fieldset>
 
   <% end %>