X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a8c7d1c4ce7b0b11eda847947a50dadcbee75cae..2e2f2124728ca755b2db8f83f022eaea24b647f0:/app/views/geocoder/_results.rhtml diff --git a/app/views/geocoder/_results.rhtml b/app/views/geocoder/_results.rhtml deleted file mode 100644 index bf42244f9..000000000 --- a/app/views/geocoder/_results.rhtml +++ /dev/null @@ -1,15 +0,0 @@ -<% results.each do |source| %> -<% type = source[:type] || t('geocoder.results.results') %> -

<%= t'geocoder.results.type_from_source', :type => type, :source_link => link_to(source[:source], source[:url]) %>

-<% if source[:results] %> -<% if source[:results].empty? %> -

<%= t'geocoder.results.no_results' %>

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

<%= result_to_html(result) %>

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

<%= source[:error] %>

-<% end %> -<% end %>