]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/geocoder/search.rhtml
Put the option to delete GPS traces back. Fixes #405.
[rails.git] / app / views / geocoder / search.rhtml
index a3674f74536363844ff516cf63177c1844d1f0d6..7ffde3194b8117a8557ed3a82d100ff700352019 100644 (file)
@@ -5,7 +5,7 @@
 <p class="search_results_entry">No results found</p>
 <% else %>
 <% source[:results].each do |result| %>
-<p class="search_results_entry"><%= link_to_function result[:description], "setPosition(#{result[:lat]}, #{result[:lon]}, #{result[:zoom]})" %></p>
+<p class="search_results_entry"><%= result_to_html(result) %></p>
 <% end %>
 <% end %>
 <% else %>