<commit_before>extends ./wrapper.jade

block content
  .row
    .col-md-6
      h1 Login
      form(action="/api/login/" method="post" role="form")
        .form-group
          label(for="loginUsernameInput") Username
          input(id="loginUsernameInput" class="form-control" type="text" name="username" placeholder="Enter username.")

        .form-group
          label(for="loginPasswordInput") Password
          input(id="loginPasswordInput" class="form-control" type="password" name="password" placeholder="Enter password.")

        .form-group
          button(class="btn btn-default" type="submit") Login

    .col-md-6
      h1 Register
      form(action="/api/login/" method="post" role="form")
        .form-group
          label(for="loginUsernameInput") Username
          input(id="loginUsernameInput" class="form-control" type="text" name="username" placeholder="Enter username.")

        .form-group
          label(for="loginPasswordInput") Password
          input(id="loginPasswordInput" class="form-control" type="password" name="password" placeholder="Enter password.")

        .form-group
          label(for="loginCPasswordInput") Confirm Password
          input(id="loginCPasswordInput" class="form-control" type="password" name="cpassword" placeholder="Confirm password.")

        .form-group
          button(class="btn btn-default" type="submit") Register
      h4
        small (Don't worry, your password is in a 1-way hash.)<commit_msg>Added a required flag to the fields in the login page.<commit_after>extends ./wrapper.jade

block content
  .row
    .col-md-6
      h1 Login
      form(action="/api/login/" method="post" role="form")
        .form-group
          label(for="loginUsernameInput") Username
          input(id="loginUsernameInput" class="form-control" type="text" name="username" placeholder="Enter username." required)

        .form-group
          label(for="loginPasswordInput") Password
          input(id="loginPasswordInput" class="form-control" type="password" name="password" placeholder="Enter password." required)

        .form-group
          button(class="btn btn-default" type="submit") Login

    .col-md-6
      h1 Register
      form(action="/api/login/" method="post" role="form")
        .form-group
          label(for="loginUsernameInput") Username
          input(id="loginUsernameInput" class="form-control" type="text" name="username" placeholder="Enter username." required)

        .form-group
          label(for="loginPasswordInput") Password
          input(id="loginPasswordInput" class="form-control" type="password" name="password" placeholder="Enter password." required)

        .form-group
          label(for="loginCPasswordInput") Confirm Password
          input(id="loginCPasswordInput" class="form-control" type="password" name="cpassword" placeholder="Confirm password." required)

        .form-group
          button(class="btn btn-default" type="submit") Register
      h4
        small (Don't worry, your password is in a 1-way hash.)
{'fraction_non_alphanumeric': 0.13142292490118576, 'fraction_numerical': 0.003952569169960474, 'mean_word_length': 3.1432469304229196, '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': '4465069', 'n_tokens_mistral': 823, 'n_tokens_neox': 800, 'n_words': 182}