]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/description.html.erb
Add /user_blocks/ to robots.txt disallow
[rails.git] / app / views / geocoder / description.html.erb
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>
4   <% else %>
5     <p class="search_results_heading"><%= raw(t("geocoder.description.title.#{source[:name]}")) %></p>
6   <% end %>
7   <div class='search_results_entry' id='<%= "description_#{source[:name]}_#{source[:types]}" %>'>
8     <%= image_tag "searching.gif", :class => "search_searching" %>
9   </div>
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] %>");
12   </script>
13 <% end %>