agenda-libre-ruby/app/views/devise/sessions/new.html.haml

18 lines
481 B
Plaintext
Raw Normal View History

2019-05-08 14:16:19 +02:00
%h2 Log in
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.field
= f.label :email
%br/
2019-05-09 13:41:29 +02:00
= f.text_field :login, autofocus: true, autocomplete: 'login'
2019-05-08 14:16:19 +02:00
.field
= f.label :password
%br/
2019-05-09 13:41:29 +02:00
= f.password_field :password, autocomplete: 'current-password'
2019-05-08 14:16:19 +02:00
- if devise_mapping.rememberable?
.field
= f.check_box :remember_me
= f.label :remember_me
.actions
2019-05-09 13:41:29 +02:00
= f.submit 'Log in'
= render 'devise/shared/links'