clarion/app/views/devise/sessions/new.html.slim

15 lines
471 B
Plaintext
Raw Normal View History

- content_for(:title) { t 'sessions.sign_in' }
2014-09-01 12:57:27 +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
= f.button :submit, t('sessions.sign_in')
2014-08-31 12:37:17 +03:00
== render 'devise/shared/links'