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

{% load crispy_forms_tags %}

{% block body %}
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <h1>
                    Welcome to <strong>Chatter</strong>
                </h1>
            </div>
        </div>

        <div>
            <div class="col-md-6 col-sm-12">
                <h2>Active rooms</h2>
                <ul class="list-group" id="chat-rooms">
                    {% for rm in rooms %}
                        <li class="list-group-item"><a href="{% url 'room' slug=rm.slug %}">{{ rm.slug }}</a></li>
                    {% empty %}
                        <p>No rooms available.</p>
                    {% endfor %}
                </ul>
            </div>

            <div class="col-md-6 col-sm-12">
                <h2>Create a room</h2>

                {% crispy form %}

            </div>

        </div>
    </div>
{% endblock %}
<commit_msg>Clean up index view<commit_after>{% extends 'base.html' %}

{% load crispy_forms_tags %}

{% block body %}
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <h1>
                    Welcome to <strong>Chatter</strong>
                </h1>
            </div>
        </div>

        <div class="row">
            <div class="col-md-6 col-sm-12">
                <h2>Active rooms</h2>
                <ul class="list-group" id="chat-rooms">
                    {% for rm in rooms %}
                        <li class="list-group-item"><a href="{% url 'room' slug=rm.slug %}">{{ rm.slug }}</a></li>
                    {% empty %}
                        <p>No rooms available.</p>
                    {% endfor %}
                </ul>
            </div>

            <div class="col-md-6 col-sm-12">
                <h2>Create a room</h2>

                {% crispy form %}

            </div>

        </div>
    </div>
{% endblock %}

{'fraction_non_alphanumeric': 0.16734486266531026, 'fraction_numerical': 0.014242115971515769, 'mean_word_length': 1.0947816826411076, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '2132843', 'n_tokens_mistral': 645, 'n_tokens_neox': 570, 'n_words': 124}