sutty/app/views/devise/sessions/new.haml

18 lines
495 B
Text
Raw Normal View History

2019-07-03 19:57:16 +00:00
%h2= t('.sign_in')
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.field
= f.label :email
%br/
= f.email_field :email, autofocus: true, autocomplete: "email"
.field
= f.label :password
%br/
= f.password_field :password, autocomplete: "current-password"
- if devise_mapping.rememberable?
.field
= f.check_box :remember_me
= f.label :remember_me
.actions
= f.submit t('.sign_in')
= render "devise/shared/links"