2015-03-13 10:42:31 -04:00
|
|
|
= 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-01-01 13:53:44 -05:00
|
|
|
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
|
2015-06-05 08:37:01 -04:00
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
.remember-me.checkbox
|
|
|
|
%label{for: "remember_me"}
|
|
|
|
= check_box_tag :remember_me, '1', false, id: 'remember_me'
|
|
|
|
%span Remember me
|
2015-07-02 10:33:38 -04:00
|
|
|
= button_tag "Sign in", class: "btn-save btn"
|