2015-04-20 16:19:13 +03:00
|
|
|
- content_for(:title) { t 'sessions.sign_in' }
|
2014-09-01 12:57:27 +03:00
|
|
|
|
2015-04-20 16:42:42 +03:00
|
|
|
.row
|
|
|
|
.centered_form
|
|
|
|
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
|
|
|
header
|
|
|
|
legend
|
|
|
|
h2.entry-title = t 'sessions.sign_in_heading'
|
|
|
|
.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?
|
2014-08-31 12:37:17 +03:00
|
|
|
|
2015-04-20 16:42:42 +03:00
|
|
|
.form-actions
|
|
|
|
= f.button :submit, t('sessions.sign_in')
|
2014-08-31 12:37:17 +03:00
|
|
|
|
2015-04-20 16:42:42 +03:00
|
|
|
= render 'devise/shared/links'
|