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

{% block content %}
{% if form.has_errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
{% if user.is_authenticated %}
<p>Sorry, you do not have permission to view this page</p>
{% else %}
<form method="post" action=".">
    <table>
        <tr>
            <td><label for="id_username">Username:</label></td>
            <td>{{ form.username }}</td>
        </tr>
        <tr>
            <td><label for="id_password">Password:</label></td>
            <td>{{ form.password }}</td>
        </tr>
    </table>
    <input type="submit" value="login" />
    <input type="hidden" name="next" value="{{ next }}" />
</form>
{% endif %}
{% endblock %}<commit_msg>Using the given label_tag attr for the form elements<commit_after>{% extends "base_full.html" %}

{% block content %}
{% if form.has_errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
{% if user.is_authenticated %}
<p>Sorry, you do not have permission to view this page</p>
{% else %}
<form method="post" action=".">
    <table>
        <tr>
            <td>{{ form.username.label_tag }}</td>
            <td>{{ form.username }}</td>
        </tr>
        <tr>
            <td>{{ form.password.label_tag }}</td>
            <td>{{ form.password }}</td>
        </tr>
    </table>
    <input type="submit" value="login" />
    <input type="hidden" name="next" value="{{ next }}" />
</form>
{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.20254862508383636, 'fraction_numerical': 0.0, 'mean_word_length': 2.6839506172839505, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '2808663', 'n_tokens_mistral': 515, 'n_tokens_neox': 470, 'n_words': 130}