new.html.haml 962 Bytes
Newer Older
1
.login-box
2
  %h3.page-title Sign in
3
  - if ldap_enabled?
4
    %ul.nav.nav-tabs
5 6 7
      %li.active
        = link_to 'LDAP', '#tab-ldap', 'data-toggle' => 'tab'
      %li
8
        = link_to 'Standard', '#tab-signin', 'data-toggle' => 'tab'
9 10 11 12 13 14 15 16 17 18 19
    .tab-content
      %div#tab-ldap.tab-pane.active
        = render partial: 'devise/sessions/new_ldap'
      %div#tab-signin.tab-pane
        = render partial: 'devise/sessions/new_base'

  - else
    = render partial: 'devise/sessions/new_base'


  = render 'devise/sessions/oauth_providers' if devise_mapping.omniauthable?
20
  %hr
21

22
  - if gitlab_config.signup_enabled
23 24 25
    %p
      %span.light
        Don't have an account?
26 27
      %strong
        = link_to "Sign up", new_registration_path(resource_name)
28

29 30 31 32 33
  %p
    %span.light Did not receive confirmation email?
    = link_to "Send again", new_confirmation_path(resource_name)


34 35 36
  - if extra_config.has_key?('sign_in_text')
    %hr
    = markdown(extra_config.sign_in_text)