gitlabhq/gitlabhq

View on GitHub
app/views/devise/sessions/_new_ldap.html.haml

Summary

Maintainability
Test Coverage
= form_tag(user_omniauth_callback_path(:ldap), id: 'new_ldap_user' ) do
  = text_field_tag :username, nil, {class: "text top", placeholder: "LDAP Login", autofocus: "autofocus"}
  = password_field_tag :password, nil, {class: "text bottom", placeholder: "Password"}
  %br/
  = submit_tag "LDAP Sign in", class: "btn-create btn"