<commit_before>- page_title "Sign in"
%div
  - if signin_enabled? || ldap_enabled? || crowd_enabled?
    = render 'devise/shared/signin_box'

  -# Omniauth fits between signin/ldap signin and signup and does not have a surrounding box
  - if omniauth_enabled? && devise_mapping.omniauthable?
    .clearfix.prepend-top-20
      = render 'devise/shared/omniauth_box'

  -# Signup only makes sense if you can also sign-in
  - if signin_enabled? && signup_enabled?
    .prepend-top-20
      = render 'devise/shared/signup_box'

  -# Show a message if none of the mechanisms above are enabled
  - if !signin_enabled? && !ldap_enabled? && !(omniauth_enabled? && devise_mapping.omniauthable?)
    %div
      No authentication methods configured.<commit_msg>render the omniauth_box if there are any button_based_providers<commit_after>- page_title "Sign in"
%div
  - if signin_enabled? || ldap_enabled? || crowd_enabled?
    = render 'devise/shared/signin_box'

  -# Omniauth fits between signin/ldap signin and signup and does not have a surrounding box
  - if omniauth_enabled? && devise_mapping.omniauthable? && button_based_providers_enabled?
    .clearfix.prepend-top-20
      = render 'devise/shared/omniauth_box'

  -# Signup only makes sense if you can also sign-in
  - if signin_enabled? && signup_enabled?
    .prepend-top-20
      = render 'devise/shared/signup_box'

  -# Show a message if none of the mechanisms above are enabled
  - if !signin_enabled? && !ldap_enabled? && !(omniauth_enabled? && devise_mapping.omniauthable?)
    %div
      No authentication methods configured.
{'fraction_non_alphanumeric': 0.09652996845425868, 'fraction_numerical': 0.005047318611987382, 'mean_word_length': 3.806060606060606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5922610', 'n_tokens_mistral': 528, 'n_tokens_neox': 505, 'n_words': 141}