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