2014-08-31 12:37:17 +03:00
|
|
|
h2.entry-title Вход
|
|
|
|
|
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
|
|
|
|
= f.button :submit, 'Влез'
|
|
|
|
|
|
|
|
== render 'devise/shared/links'
|