2017-08-17 22:00:37 +05:30
|
|
|
= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do
|
2016-11-03 12:29:30 +05:30
|
|
|
.form-group
|
|
|
|
= label_tag :username, "#{server['label']} Username"
|
2018-12-05 23:21:45 +05:30
|
|
|
= text_field_tag :username, nil, { class: "form-control top qa-username-field", title: "This field is required.", autofocus: "autofocus", required: true }
|
2016-11-03 12:29:30 +05:30
|
|
|
.form-group
|
|
|
|
= label_tag :password
|
2018-12-05 23:21:45 +05:30
|
|
|
= password_field_tag :password, nil, { class: "form-control bottom qa-password-field", title: "This field is required.", required: true }
|
2015-09-11 14:41:01 +05:30
|
|
|
- if devise_mapping.rememberable?
|
2018-11-08 19:23:39 +05:30
|
|
|
.remember-me
|
2017-08-17 22:00:37 +05:30
|
|
|
%label{ for: "remember_me" }
|
2015-09-11 14:41:01 +05:30
|
|
|
= check_box_tag :remember_me, '1', false, id: 'remember_me'
|
|
|
|
%span Remember me
|
2018-12-05 23:21:45 +05:30
|
|
|
= submit_tag "Sign in", class: "btn-success btn qa-sign-in-button"
|