clarion/lib/initfest/views/devise/sessions/new.slim

15 lines
483 B
Plaintext
Raw Permalink Normal View History

2015-08-20 00:50:35 +03:00
- content_for(:title) { t :login }
2015-08-15 04:33:02 +03:00
h2.entry-title = t :login
2015-08-15 05:59:46 +03:00
= simple_form_for(resource, wrapper: :default, as: resource_name, url: session_path(resource_name)) do |f|
2015-08-15 04:33:02 +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, wrapper: :default if devise_mapping.rememberable?
.form-actions
= f.button :submit, t(:login)
== render 'devise/shared/links'