= simple_form_for(resource, as: resource_name, url: session_path(resource_name), wrapper: :bootstrap) do |f|
  h2= t 'admin.auth.sessions.title'
  .form-inputs
    = f.input :email, required: false, autofocus: true
    = f.input :password, required: false
    = f.input :remember_me, as: :boolean, wrapper: :default if devise_mapping.rememberable?
  = f.button :submit, t('admin.auth.sessions.button'), class: 'btn-primary btn-large'
  br
  br
  = link_to t('admin.auth.passwords.new.title'), new_password_path(resource_name) if devise_mapping.recoverable?

= simple_form_for(resource, as: resource_name, url: session_path(resource_name), wrapper: :bootstrap) do |f|
  h2= t 'admin.auth.sessions.title', default: 'Sign in'
  .form-inputs
    = f.input :email, required: false, autofocus: true
    = f.input :password, required: false
    = f.input :remember_me, as: :boolean, wrapper: :default if devise_mapping.rememberable?
  = f.button :submit, t('admin.auth.sessions.button', default: 'Sign in'), class: 'btn-primary btn-large'
  br
  br
  = link_to t('admin.auth.passwords.new.title', default: 'Forgot your password?'), new_password_path(resource_name) if devise_mapping.recoverable?

Add i18n defaults to login form
Add i18n defaults to login form

leschenko/ab_admin,leschenko/ab_admin,leschenko/ab_admin