<commit_before>extends base

block body
    if form.errors
        p.error Invalid username or password.
    form.form-area(action='', method='post')
        -csrf_token
        table(border=0, style='text-align:left') #{form.as_table}
        hr
        button(style="float:right;", type='submit') Login!
        input(type='hidden', name='next', value=next)
    br
    a(href='{% url "password_reset" %}') Forgot your password?<commit_msg>Possibly working new login<commit_after>extends base

block media
    style
        #content-body {
          position: fixed;
          top: 170px;
          left: 0px;
          right: 0px;
          bottom: 0px;
        }

        #login-panel {
          position: absolute;
          margin: -5em auto auto -10em;
          top: 50%;
          left: 50%;
        }

block body
    #login-form
        form.form-area(action='', method='post')
            -csrf_token
            #form-errors
                if form.errors
                    p.error Invalid username or password.
                | #{form.non_field_errors}
                | #{form.username.errors}
                | #{form.password.errors}
            table(border=0, style='text-align:left')
                tr
                    th
                        i.fa.fa-user.fa-fw
                    td
                        | #{form.username}
                tr
                    th
                        i.fa.fa-key.fa-fw
                    td
                        | #{form.password}
            hr
            button(style="float:right;", type='submit') Login!
            input(type='hidden', name='next', value=next)
        br
        a(href='{% url "password_reset" %}') Forgot your password?
{'fraction_non_alphanumeric': 0.11569767441860465, 'fraction_numerical': 0.00872093023255814, 'mean_word_length': 1.3288227334235454, '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': '7300031', 'n_tokens_mistral': 496, 'n_tokens_neox': 463, 'n_words': 104}