<% if @results.empty? %>

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

<% else %> <% @results.each do |result| %>

<%= result_to_html(result) %>

<% end %> <% if @more_params %>

<%= startSpinner = update_page do |page| page.replace_html "search_more_#{@more_params.hash}", image_tag("searching.gif", :class => "search_searching") end link_to_remote t('geocoder.results.more_results'), :update => "search_more_#{@more_params.hash}", :before => startSpinner, :url => @more_params %>

<% end %> <% end %>