- if enabled_oauth_providers.present?
  %hr
  %div{:'data-no-turbolink' => 'data-no-turbolink'}
    %span Sign in with: &nbsp;
    - (enabled_oauth_providers - [:ldap]).each do |provider|
      %span
        - if default_providers.include?(provider)
          = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
        - else
          = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn"

- providers = (enabled_oauth_providers - [:ldap])
- if providers.present?
  %hr
  %div{:'data-no-turbolink' => 'data-no-turbolink'}
    %span Sign in with: &nbsp;
    - providers.each do |provider|
      %span
        - if default_providers.include?(provider)
          = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
        - else
          = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn"

Hide sign-in bottom block if no providers
Hide sign-in bottom block if no providers
