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

15 lines
470 B
Plaintext
Raw Normal View History

2015-08-15 04:33:02 +03:00
- content_for(:title) { "#{t :login}" }
h2.entry-title = t :login
= simple_form_for(resource, wrapper: :default, as: :user, url: user_session_path) 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'