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

{% block content %}

{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<form method="post" action="{% url 'django.contrib.auth.views.login' %}">
{% csrf_token %}
<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>

{% endblock %}<commit_msg>Simplified login template using bootstrapform<commit_after>{% extends "wijn/base.html" %}
{% load bootstrap %}

{% block content %}

{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<form method="post" action="{% url 'django.contrib.auth.views.login' %}">
{% csrf_token %}
 <div class="row">
{{ form|bootstrap_horizontal }}
    <div class="col-sm-offset-2 col-md-10">
       <input type="submit" class="btn btn-primary btn-lg" value="login" />
    </div>
  </div>

<input type="hidden" name="next" value="{{ next }}" />
</form>

{% endblock %}
{'fraction_non_alphanumeric': 0.22506393861892582, 'fraction_numerical': 0.0025575447570332483, 'mean_word_length': 4.1946902654867255, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '2351159', 'n_tokens_mistral': 441, 'n_tokens_neox': 403, 'n_words': 101}