<commit_before>{% extends "base.html" %}

{% block extratitle %} - Login{% endblock %}

{% block body %}
<form class="form" method="post" action="{% url 'auth_register' %}" style="margin-top: 10%;">
{% csrf_token %}
<div class="form-group row">
  <label for="{{ form.username.id_for_label }}" class="col-sm-2">Login</label>
  <div class="col-sm-4">
    <input class="form-control"
           id="{{ form.username.id_for_label }}"
           maxlength="254"
           name="{{ form.username.html_name }}"
           value="{{ form.username.value|default:'' }}"
           type="text" />
  </div>
</div>
<div class="form-group row">
  <label for="{{ form.password1.id_for_label }}" class="col-sm-2">Password</label>
  <div class="col-sm-4">
    <input class="form-control"
           id="{{ form.password1.id_for_label }}"
           maxlength="254"
           name="{{ form.password1.html_name }}"
           value="{{ form.password1.value|default:'' }}"
           type="password" />
  </div>
</div>
<div class="form-group row">
  <label for="{{ form.password2.id_for_label }}" class="col-sm-2">Confirm password</label>
  <div class="col-sm-4">
    <input class="form-control"
           id="{{ form.password2.id_for_label }}"
           maxlength="254"
           name="{{ form.password2.html_name }}"
           value="{{ form.password2.value|default:'' }}"
           type="password" />
  </div>
</div>

<div class="form-group row">
  <div class="col-sm-offset-2 col-sm-4">
    <input type="submit" value="Register" class="btn btn-primary" />
    {% if form.errors %}
    <p class="text-danger">
      {{ form.username.errors|join:' ' }}
      {{ form.non_field_errors|join:' ' }}
      {{ form.password1.errors|join:' ' }}
      {{ form.password2.errors|join:' ' }}
    </p>
    {% endif %}
  </div>
</div>
</form>
{% endblock %}
<commit_msg>change HTML title of register view<commit_after>{% extends "base.html" %}

{% block extratitle %} - Register{% endblock %}

{% block body %}
<form class="form" method="post" action="{% url 'auth_register' %}" style="margin-top: 10%;">
{% csrf_token %}
<div class="form-group row">
  <label for="{{ form.username.id_for_label }}" class="col-sm-2">Login</label>
  <div class="col-sm-4">
    <input class="form-control"
           id="{{ form.username.id_for_label }}"
           maxlength="254"
           name="{{ form.username.html_name }}"
           value="{{ form.username.value|default:'' }}"
           type="text" />
  </div>
</div>
<div class="form-group row">
  <label for="{{ form.password1.id_for_label }}" class="col-sm-2">Password</label>
  <div class="col-sm-4">
    <input class="form-control"
           id="{{ form.password1.id_for_label }}"
           maxlength="254"
           name="{{ form.password1.html_name }}"
           value="{{ form.password1.value|default:'' }}"
           type="password" />
  </div>
</div>
<div class="form-group row">
  <label for="{{ form.password2.id_for_label }}" class="col-sm-2">Confirm password</label>
  <div class="col-sm-4">
    <input class="form-control"
           id="{{ form.password2.id_for_label }}"
           maxlength="254"
           name="{{ form.password2.html_name }}"
           value="{{ form.password2.value|default:'' }}"
           type="password" />
  </div>
</div>

<div class="form-group row">
  <div class="col-sm-offset-2 col-sm-4">
    <input type="submit" value="Register" class="btn btn-primary" />
    {% if form.errors %}
    <p class="text-danger">
      {{ form.username.errors|join:' ' }}
      {{ form.non_field_errors|join:' ' }}
      {{ form.password1.errors|join:' ' }}
      {{ form.password2.errors|join:' ' }}
    </p>
    {% endif %}
  </div>
</div>
</form>
{% endblock %}

{'fraction_non_alphanumeric': 0.21301775147928995, 'fraction_numerical': 0.015599784830554062, 'mean_word_length': 2.8901673640167362, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '2361214', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1241, 'n_words': 219}