2015-05-13 15:02:19 -07:00
|
|
|
- provide(:title, generate_title("Sign In"))
|
2014-08-01 06:27:08 -07:00
|
|
|
.container
|
2015-06-08 12:11:35 -07:00
|
|
|
%h1= t('views.sessions.create')
|
2014-08-01 06:27:08 -07:00
|
|
|
= render 'layouts/messages'
|
|
|
|
|
2014-11-02 04:47:35 -08:00
|
|
|
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
2014-08-01 06:27:08 -07:00
|
|
|
|
2015-06-08 12:11:35 -07:00
|
|
|
= f.text_field :login, autofocus: true, label: t('views.settings.account.username')
|
|
|
|
= f.password_field :password, autocomplete: "off", label: t('views.settings.account.password')
|
2014-08-01 06:27:08 -07:00
|
|
|
|
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
= f.check_box :remember_me
|
2015-05-10 10:48:47 -07:00
|
|
|
|
2015-06-08 12:11:35 -07:00
|
|
|
= f.submit t('views.sessions.create')
|
2014-08-01 06:27:08 -07:00
|
|
|
|
2014-11-25 04:58:20 -08:00
|
|
|
= render "devise/shared/links"
|
|
|
|
= render "shared/links"
|