From: Philipp Borgers Date: Sat, 18 Dec 2010 17:08:33 +0000 (+0100) Subject: Added tabindex="1" for search input on the main side X-Git-Tag: live~6235^2^2~32 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a998a0bb2012a6e983eae3da9377b3669e9f24b2 Added tabindex="1" for search input on the main side --- diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index 31b5af16f..f487e8f4a 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -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 %>