]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/geocoder/_description.html.erb
Update use of deprecated forms of form_for
[rails.git] / app / views / geocoder / _description.html.erb
index b6a6d82fbcbebb4a698d5ed88cb68de3e4bc76cc..88b3bcc5f133598f187ec881cc7498710d76712f 100644 (file)
@@ -1,8 +1,8 @@
 <% @sources.each do |source| %>
   <% if source[:types] %>
 <% @sources.each do |source| %>
   <% if source[:types] %>
-    <p class="search_results_heading"><%= t("geocoder.description.title.#{source[:name]}", :types => t("geocoder.description.types.#{source[:types]}")) %></p>
+    <p class="search_results_heading"><%= raw(t("geocoder.description.title.#{source[:name]}", :types => t("geocoder.description.types.#{source[:types]}"))) %></p>
   <% else %>
   <% else %>
-    <p class="search_results_heading"><%= t("geocoder.description.title.#{source[:name]}") %></p>
+    <p class="search_results_heading"><%= raw(t("geocoder.description.title.#{source[:name]}")) %></p>
   <% end %>
   <div class='search_results_entry' id='<%= "description_#{source[:name]}_#{source[:types]}" %>'>
     <%= image_tag "searching.gif", :class => "search_searching" %>
   <% end %>
   <div class='search_results_entry' id='<%= "description_#{source[:name]}_#{source[:types]}" %>'>
     <%= image_tag "searching.gif", :class => "search_searching" %>