X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/eb6114617c219baeeca957d9022f438e981c308e..d274c0e3d8176f2e4da7ecc24c6247253c9f07f1:/app/views/geocoder/search.rhtml diff --git a/app/views/geocoder/search.rhtml b/app/views/geocoder/search.rhtml index a3674f745..7ffde3194 100644 --- a/app/views/geocoder/search.rhtml +++ b/app/views/geocoder/search.rhtml @@ -5,7 +5,7 @@

No results found

<% else %> <% source[:results].each do |result| %> -

<%= link_to_function result[:description], "setPosition(#{result[:lat]}, #{result[:lon]}, #{result[:zoom]})" %>

+

<%= result_to_html(result) %>

<% end %> <% end %> <% else %>