2014-08-31 21:46:03 +03:00
|
|
|
h2.entry-title = t :login
|
2014-08-31 12:37:17 +03:00
|
|
|
|
2014-08-31 18:48:53 +03:00
|
|
|
= simple_form_for(resource, as: resource_name, url: session_path(resource_name), ) do |f|
|
2014-08-31 12:37:17 +03:00
|
|
|
.form-inputs
|
|
|
|
= f.input :email, required: false, autofocus: true, hint: false
|
|
|
|
= f.input :password, required: false, hint: false
|
|
|
|
= f.input :remember_me, as: :boolean if devise_mapping.rememberable?
|
|
|
|
|
|
|
|
.form-actions
|
2014-08-31 21:46:03 +03:00
|
|
|
= f.button :submit, t(:login)
|
2014-08-31 12:37:17 +03:00
|
|
|
|
|
|
|
== render 'devise/shared/links'
|