1 <% @results.each do |source| %>
2 <p class="search_results_heading">Results from <%= link_to source[:source], source[:url] %></p>
3 <% if source[:results] %>
4 <% if source[:results].empty? %>
5 <p class="search_results_entry">No results found</p>
7 <% source[:results].each do |result| %>
8 <p class="search_results_entry"><%= result_to_html(result) %></p>
12 <p class="search_results_error"><%= source[:error] %></p>