<commit_before>extends ../layout

block content
  .valign-wrapper
    .row.valign
      .card.col.m8.offset-m2(style='margin-top: 50%')
        .card-content.center
          .row
            span.card-title Login
            .col.s12
              - if (messages.error)
              #error.modal
                .modal-content
                  h4 Login failed!
                  br
                  h5= messages.error
                .modal-footer
                  a.modal-action.modal-close.waves-effect.waves-green.btn-flat(href='#!') Ok
              form(method='post')
                .col.s12
                  input(placeholder='Username', id='username', name='username', type='text')
                .col.s12
                  input(placeholder='Password', id='password', name='password', type='password')
                .row
                  .col.s12.m6
                    input(type='checkbox', id='remember_me', name='remember_me')
                    label(for='remember_me') Stay signed in
                  .col.s12.m6
                    button.btn.waves-effect.waves-light(type='submit', name='action') Login
                      i.material-icons.right send
block scripts
  - if (messages.error)
    script.
      $('#error').openModal();
<commit_msg>Fixed Login Page<commit_after>extends ../layout

block content
  .valign-wrapper
    .row.valign
      .card.col.m8.offset-m2(style='margin-top: 50%')
        .card-content.center
          .row
            span.card-title Login
            .col.s12
              - if (messages.error)
                #error.modal
                  .modal-content
                    h4 Login failed!
                    br
                    h5= messages.error
                  .modal-footer
                    a.modal-action.modal-close.waves-effect.waves-green.btn-flat(href='#!') Ok
              form(method='post')
                .col.s12
                  input(placeholder='Username', id='username', name='username', type='text')
                .col.s12
                  input(placeholder='Password', id='password', name='password', type='password')
                .row
                  .col.s12.m6
                    input(type='checkbox', id='remember_me', name='remember_me')
                    label(for='remember_me') Stay signed in
                  .col.s12.m6
                    button.btn.waves-effect.waves-light(type='submit', name='action') Login
                      i.material-icons.right send
block scripts
  - if (messages.error)
    script.
      $('#error').openModal();

{'fraction_non_alphanumeric': 0.12534059945504086, 'fraction_numerical': 0.014013234721681589, 'mean_word_length': 1.3556370302474794, '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': '785395', 'n_tokens_mistral': 734, 'n_tokens_neox': 670, 'n_words': 118}