]> git.openstreetmap.org Git - rails.git/commitdiff
Added tabindex="1" for search input on the main side
authorPhilipp Borgers <borgers@mi.fu-berlin.de>
Sat, 18 Dec 2010 17:08:33 +0000 (18:08 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 18 Dec 2010 18:01:21 +0000 (18:01 +0000)
app/views/site/_search.html.erb

index 31b5af16f9f3a92aad912dc97b681ac0e32a2f33..f487e8f4a2d2a407bb7d7c285bfa1400c7017aca 100644 (file)
@@ -41,7 +41,7 @@
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search },
                        :html => { :method => "get", :action => url_for(:action => "index") }) do %>
-      <%= text_field_tag :query, h(params[:query]) %>
+      <%= text_field_tag :query, h(params[:query]), :tabindex => "1" %>
       <% if params[:action] == 'index' %>
         <%= hidden_field_tag :minlon %>
         <%= hidden_field_tag :minlat %>