clarion/app/views/devise/sessions/new.html.slim
2014-09-01 12:57:27 +03:00

15 lines
455 B
Plaintext

- content_for(:title) { ":: #{t :login}" }
h2.entry-title = t :login
= simple_form_for(resource, as: resource_name, url: session_path(resource_name), ) 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 if devise_mapping.rememberable?
.form-actions
= f.button :submit, t(:login)
== render 'devise/shared/links'