b23b78ada1
Use button type=submit instead of input.
5 lines
344 B
Text
5 lines
344 B
Text
= form_tag(user_omniauth_callback_path(provider), id: 'new_ldap_user' ) do
|
|
= text_field_tag :username, nil, {class: "form-control top", placeholder: "LDAP Login", autofocus: "autofocus"}
|
|
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
|
|
%br/
|
|
= button_tag "LDAP Sign in", class: "btn-save btn"
|