15 lines
470 B
Plaintext
15 lines
470 B
Plaintext
- content_for(:title) { "#{t :login}" }
|
|
|
|
h2.entry-title = t :login
|
|
|
|
= simple_form_for(resource, wrapper: :default, as: :user, url: user_session_path) do |f|
|
|
.form-inputs
|
|
= f.input :email, required: false, autofocus: true, hint: false
|
|
= f.input :password, required: false, hint: false
|
|
= f.input :remember_me, as: :boolean, wrapper: :default if devise_mapping.rememberable?
|
|
|
|
.form-actions
|
|
= f.button :submit, t(:login)
|
|
|
|
== render 'devise/shared/links'
|