app/views/active_admin/devise/sessions/new.html.erb in activeadmin-0.4.0 vs app/views/active_admin/devise/sessions/new.html.erb in activeadmin-0.4.1

- old
+ new

@@ -2,10 +2,10 @@ <h2><%= title "#{active_admin_application.site_title} Login" %></h2> <% scope = Devise::Mapping.find_scope!(resource_name) %> <%= active_admin_form_for(resource, :as => resource_name, :url => send(:"#{scope}_session_path"), :html => { :id => "session_new" }) do |f| f.inputs do - Devise.authentication_keys.each { |key| f.input key } + Devise.authentication_keys.each { |key| f.input key, :input_html => {:autofocus => true}} f.input :password f.input :remember_me, :as => :boolean, :if => false #devise_mapping.rememberable? } end f.buttons do f.commit_button "Login"