X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b02844b42f17d20d61419d549ac2ed90653b24a3..2b4f8e92c969a5508b73ae7af45811a118fda6b1:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 7fd21775e..d990b7f0e 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -2,25 +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'), "#", :class => "button" %> -
    - <%= image_tag "searching.gif", :class => "search_searching" %> +
    + <%= 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 %>