2015-04-26 12:48:37 +05:30
|
|
|
= form_tag(user_omniauth_callback_path(server['provider_name']), id: 'new_ldap_user' ) do
|
|
|
|
= text_field_tag :username, nil, {class: "form-control top", placeholder: "#{server['label']} Login", autofocus: "autofocus"}
|
2014-09-02 18:07:02 +05:30
|
|
|
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
|
2015-09-11 14:41:01 +05:30
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
.remember-me.checkbox
|
|
|
|
%label{for: "remember_me"}
|
|
|
|
= check_box_tag :remember_me, '1', false, id: 'remember_me'
|
|
|
|
%span Remember me
|
|
|
|
= button_tag "Sign in", class: "btn-save btn"
|