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