]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/results.html.erb
This is the initial implementation of login via OpenID
[rails.git] / app / views / geocoder / results.html.erb
1 <% if @results.empty? %>
2   <p class="search_results_entry"><%= t 'geocoder.results.no_results' %></p>
3 <% else %>
4   <% @results.each do |result| %>
5     <p class="search_results_entry"><%= result_to_html(result) %></p>
6   <% end %>
7   <% if @more_params %>
8     <div id="search_more_<%= @more_params.hash %>">
9       <p class="search_results_entry"><%=
10         startSpinner = update_page do |page|
11                          page.replace_html "search_more_#{@more_params.hash}", image_tag("searching.gif", :class => "search_searching")
12                        end
13
14         link_to_remote t('geocoder.results.more_results'),
15           :update => "search_more_#{@more_params.hash}",
16           :before => startSpinner,
17           :url => @more_params
18         %></p>
19     </div>
20   <% end %>
21 <% end %>