1 <% results.each do |source| %>
2 <% type = source[:type] || t('geocoder.results.results') %>
3 <p class="search_results_heading"><%= t'geocoder.results.type_from_source', :type => type, :source_link => link_to(source[:source], source[:url]) %></p>
4 <% if source[:results] %>
5 <% if source[:results].empty? %>
6 <p class="search_results_entry"><%= t'geocoder.results.no_results' %></p>
8 <% source[:results].each do |result| %>
9 <p class="search_results_entry"><%= result_to_html(result) %></p>
13 <p class="search_results_error"><%= source[:error] %></p>