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

21 lines
517 B
Plaintext
Raw Normal View History

%h2= t '.title'
%fieldset
2017-06-02 23:55:26 +02:00
= form_for resource, as: resource_name,
2017-11-11 12:44:09 +01:00
url: session_path(resource_name) do |f|
.field.login
= f.label :login
2017-11-11 12:44:09 +01:00
%br/
= f.text_field :login, autofocus: true
.field.password
= f.label :password
2017-11-11 12:44:09 +01:00
%br/
= f.password_field :password, autocomplete: 'off'
- if devise_mapping.rememberable?
.field
= f.check_box :remember_me
= f.label :remember_me
.actions= f.submit t('.sign_in')
= render 'devise/shared/links'