BigW Consortium Gitlab

_new_ldap.html.haml 737 Bytes
Newer Older
1
= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do
2
  .form-group
3
    = label_tag :username, "#{server['label']} Username"
4
    = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", required: true }
5 6 7
  .form-group
    = label_tag :password
    = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", required: true }
8 9
  - if devise_mapping.rememberable?
    .remember-me.checkbox
10
      %label{ for: "remember_me" }
11 12
        = check_box_tag :remember_me, '1', false, id: 'remember_me'
        %span Remember me
13
  = submit_tag "Sign in", class: "btn-save btn"