X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e84b2bd22f7c92fb7a128a91c999f86e350bf04d..4e95ff17078f54866a85a3702948506bfd67acf8:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index f98f2abc9..d990b7f0e 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -2,16 +2,14 @@

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

<% else %> + <% @results.each do |result| %> +
  • <%= result_to_html(result) %>

  • + <% end %> + <% if @more_params %>
    -
    - <%= link_to t('geocoder.results.more_results'), url_for(@more_params), :class => "button" %> -
    - <%= image_tag "searching.gif", :class => ["search_searching", "hidden"] %> + <%= link_to t('geocoder.results.more_results'), url_for(@more_params), :class => "button load_more" %> + <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
    <% end %> <% end %>