1 <% @sources.each do |source| %>
2 <% if source[:types] %>
3 <p class="search_results_heading"><%= raw(t("geocoder.description.title.#{source[:name]}", :types => t("geocoder.description.types.#{source[:types]}"))) %></p>
5 <p class="search_results_heading"><%= raw(t("geocoder.description.title.#{source[:name]}")) %></p>
7 <div class='search_results_entry' id='<%= "description_#{source[:name]}_#{source[:types]}" %>'>
8 <%= image_tag "searching.gif", :class => "search_searching" %>
10 <script type="text/javascript">
11 <%= remote_function :update => "description_#{source[:name]}_#{source[:types]}", :url => { :action => "description_#{source[:name]}", :lat => params[:lat], :lon => params[:lon], :zoom => params[:zoom], :types => source[:types], :max => source[:max] } %>