0d74154abc
~~~~ ActionView::Template::Error (undefined method `user_omniauth_callback_path' ~~~~ Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
9 lines
551 B
Text
9 lines
551 B
Text
= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user') do
|
|
= text_field_tag :username, nil, {class: "form-control top", placeholder: "#{server['label']} Login", autofocus: "autofocus"}
|
|
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
|
|
- 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"
|