.login-box
  %h3.page-title Sign in
  - if ldap_enabled?
    %ul.nav.nav-tabs
      %li.active
        = link_to 'LDAP', '#tab-ldap', 'data-toggle' => 'tab'
      %li
        = link_to 'Standard', '#tab-signin', 'data-toggle' => 'tab'
    .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?

  - if gitlab_config.signup_enabled
    %hr
    %div
      Don't have an account?
      %strong
        = link_to "Sign up", new_registration_path(resource_name)

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

.login-box
  %h3.page-title Sign in
  - if ldap_enabled?
    %ul.nav.nav-tabs
      %li.active
        = link_to 'LDAP', '#tab-ldap', 'data-toggle' => 'tab'
      %li
        = link_to 'Standard', '#tab-signin', 'data-toggle' => 'tab'
    .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?
  %hr

  - if gitlab_config.signup_enabled
    %p
      %span.light
        Don't have an account?
      %strong
        = link_to "Sign up", new_registration_path(resource_name)

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


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

Add resend-confirmation-link to sign-in page
Add resend-confirmation-link to sign-in page

Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
