rosa-build/app/views/devise/sessions/new.html.slim

25 lines
726 B
Plaintext
Raw Normal View History

2014-11-15 01:26:36 +00:00
.panel.panel-default
.panel-heading
h4= t('layout.devise.shared_links.sign_in')
.panel-body
- login = t('devise.sessions.login'); password = t('devise.sessions.password')
= hidden_field_tag :login_default, login
= hidden_field_tag :password_default, password
= simple_form_for resource, url: session_path(resource_name) do |f|
= f.input :login
= f.input :password
hr
.pull-left
= f.input :remember_me, as: :boolean, checked: true
.pull-right
= f.button :submit, t('layout.devise.shared_links.sign_in')
.panel-footer
== render 'devise/shared/providers'
= link_to t('layout.devise.shared_links.forgot_password'), new_password_path(resource_name)