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

20 lines
547 B
Plaintext
Raw Normal View History

2019-05-09 13:51:32 +02:00
%h2= t '.title'
%fieldset
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.field.login
= f.label :login
%br/
= f.text_field :login, autofocus: true, autocomplete: 'login'
.field.password
= 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')
2019-05-09 13:41:29 +02:00
= render 'devise/shared/links'