2011-03-10 11:35:46 +00:00
|
|
|
#login_form
|
|
|
|
%h2 Вход в систему
|
|
|
|
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
|
2011-03-09 17:38:10 +00:00
|
|
|
%p
|
2011-03-10 11:35:46 +00:00
|
|
|
= f.label :email
|
|
|
|
%br/
|
|
|
|
= f.text_field :email
|
|
|
|
%p
|
|
|
|
= f.label :password
|
|
|
|
%br/
|
|
|
|
= f.password_field :password
|
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
%p
|
|
|
|
= f.check_box :remember_me
|
|
|
|
= f.label :remember_me
|
|
|
|
%p
|
|
|
|
= f.submit "Войти"
|
|
|
|
= link_to t('devise.passwords.link'), new_password_path(resource_name)
|