clarion/lib/initfest/views/devise/sessions/new.slim
2015-08-20 00:50:35 +03:00

15 lines
483 B
Plaintext

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