1 <% if @results.empty? %>
2 <p class="search_results_entry"><%= t 'geocoder.results.no_results' %></p>
4 <% @results.each do |result| %>
5 <p class="search_results_entry"><%= result_to_html(result) %></p>
8 <div id="search_more_<%= @more_params.hash %>">
9 <p class="search_results_entry">
10 <%= link_to t('geocoder.results.more_results'), "#" %>
12 <%= image_tag "searching.gif", :class => "search_searching" %>
14 <script type="text/javascript">
15 $("#search_more_<%= @more_params.hash %> .search_searching").hide();
17 $("#search_more_<%= @more_params.hash %> a").click(function () {
18 $("#search_more_<%= @more_params.hash %> .search_results_entry").hide();
19 $("#search_more_<%= @more_params.hash %> .search_searching").show();
21 $("#search_more_<%= @more_params.hash %>").load("<%= raw url_for(@more_params) %>");