<commit_before>extends base

block vars
  - var title = 'Log In'
  - var description = 'Log into your account!'
  - var bodytag = 'login'

block body
  .container.custom-container
    .va-wrapper
      .view.login-view.container
        .box.row
          if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
            - var cls = 'small col-sm-8'
          else
            - var cls = 'large col-sm-12'

          div(class='email-password-area col-xs-12 #{cls}')
            .header
              span.
                Log In or <a href="#{app.get('stormpathRegistrationUrl')}">Create Account</a>

            if error
              .alert.alert-danger.bad-login
                p #{error}

            if formErrors
              .alert.alert-danger.bad-login
                each error in formErrors
                  p #{error}

            form.login-form.form-horizontal(method='post', role='form')
              input(name='_csrf', type='hidden', value=csrfToken)

              .form-group.group-email
                if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
                  - var cls = 'col-sm-12'
                else<commit_msg>Fixing the rendering of form errors.<commit_after>extends base

block vars
  - var title = 'Log In'
  - var description = 'Log into your account!'
  - var bodytag = 'login'

block body
  .container.custom-container
    .va-wrapper
      .view.login-view.container
        .box.row
          if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
            - var cls = 'small col-sm-8'
          else
            - var cls = 'large col-sm-12'

          div(class='email-password-area col-xs-12 #{cls}')
            .header
              span.
                Log In or <a href="#{app.get('stormpathRegistrationUrl')}">Create Account</a>

            if error
              .alert.alert-danger.bad-login
                p #{error}

            if formErrors
              .alert.alert-danger.bad-login
                each error in formErrors
                  p #{error.error}

            form.login-form.form-horizontal(method='post', role='form')
              input(name='_csrf', type='hidden', value=csrfToken)

              .form-group.group-email
                if app.get('stormpathEnableFacebook') || app.get('stormpathEnableGoogle')
                  - var cls = 'col-sm-12'
                else
{'fraction_non_alphanumeric': 0.11866501854140915, 'fraction_numerical': 0.0057684384013185, 'mean_word_length': 1.6163793103448276, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3177498', 'n_tokens_mistral': 703, 'n_tokens_neox': 670, 'n_words': 150}