BigW Consortium Gitlab

_new_ldap.html.haml 550 Bytes
Newer Older
1 2
= 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"}
Dmitriy Zaporozhets committed
3
  = password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
4 5 6 7 8
  - if devise_mapping.rememberable?
    .remember-me.checkbox
      %label{for: "remember_me"}
        = check_box_tag :remember_me, '1', false, id: 'remember_me'
        %span Remember me
9
  = button_tag "Sign in", class: "btn-save btn"