]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_search.html.erb
Fix double escaping of date markup in note feed
[rails.git] / app / views / site / _search.html.erb
index bcab7e4047b7eed6073886aaf0644585478cb435..c074a49a30804082ff6c1d5fbe8e07abf3eb423d 100644 (file)
@@ -19,7 +19,7 @@
     <div id="search_field">
     <%= form_tag url_for(:controller => :geocoder, :action => :search), :id => "search_form" do %>
       <%= submit_tag t('site.search.submit_text') %>
-      <%= text_field_tag :query, h(params[:query]), :tabindex => "1", :placeholder => t('site.search.search') %>
+      <%= text_field_tag :query, h(params[:query]), :tabindex => "1", :placeholder => t('site.search.search'), :autofocus => "autofocus" %>
     <% end %>
     </div>
     </div>