X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/034982a12fa025af8c1d381cd09483c97fb29dbe..285d61bf4cd6cd93e6ae0f4905db9faf4a6f71f5:/app/views/geocoder/_results.rhtml?ds=sidebyside diff --git a/app/views/geocoder/_results.rhtml b/app/views/geocoder/_results.rhtml index 477f2a0bc..9bcc5d8ae 100644 --- a/app/views/geocoder/_results.rhtml +++ b/app/views/geocoder/_results.rhtml @@ -1,5 +1,6 @@ <% results.each do |source| %> -
Results from <%= link_to source[:source], source[:url] %>
+<% type = source[:type] || "Results" %> +<%= type %> from <%= link_to source[:source], source[:url] %>
<% if source[:results] %> <% if source[:results].empty? %>No results found