X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..9508368d37fe6e9d54a2d51ed8d886261ec4a9e9:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 4b2d6e83d..deec4ed39 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -1,26 +1,15 @@ <% if @results.empty? %> -

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

+

<%= t ".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(".more_results"), url_for(@more_params), :class => "button load_more" %> +
    <%= image_tag "searching.gif" %>
    - <% end %> <% end %>