]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/new.html.erb
Make the login and signup screens focus on the first input
[rails.git] / app / views / users / new.html.erb
index a2a06836066398b467da603578321a1c93a1ba09..865303f56ba4435d30af6b2da7f147770d99fa93 100644 (file)
@@ -53,6 +53,7 @@
                                                                            t(".privacy_policy_url"),
                                                                            :title => t(".privacy_policy_title"),
                                                                            :target => :new)),
                                                                            t(".privacy_policy_url"),
                                                                            :title => t(".privacy_policy_title"),
                                                                            :target => :new)),
+                                :autofocus => true,
                                 :tabindex => 1 %>
     <% else %>
       <%= f.hidden_field :email %>
                                 :tabindex => 1 %>
     <% else %>
       <%= f.hidden_field :email %>