<commit_before>{% extends 'core/base.html' %}
{% load i18n widget_tweaks %}

{% block title %}Children{% endblock %}

{% block content %}
    <h1>Children</h1>

    <table class="table table-striped table-hover">
        <thead class="thead-inverse">
            <tr>
                <th>#</th>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Birth Date</th>
                <th class="text-center">Actions</th>
            </tr>
        </thead>
        <tbody>
            {% for child in object_list %}
                <tr>
                    <th scope="row">{{ child.id }}</th>
                    <td><a href="{% url 'child-update' child.id %}">{{ child.first_name }}</a></td>
                    <td>{{ child.last_name }}</td>
                    <td>{{ child.birth_date }}</td>
                    <td class="text-center">
                        <div class="btn-group btn-group-sm" role="group" aria-label="Child actions">
                            <a href="{% url 'child-update' child.id %}" class="btn btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i></a>
                            <a href="{% url 'child-delete' child.id %}" class="btn btn-danger"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
                        </div>
                    </td>
                </tr>
            {% empty %}
                <tr>
                    <th colspan="4">No children added.</th>
                </tr>
            {% endfor %}
        </tbody>
    </table><commit_msg>Add a Child add button.<commit_after>{% extends 'core/base.html' %}
{% load i18n widget_tweaks %}

{% block title %}Children{% endblock %}

{% block content %}
    <h1>Children</h1>
    <table class="table table-striped table-hover">
        <thead class="thead-inverse">
            <tr>
                <th>#</th>
                <th>First Name</th>
                <th>Last Name</th>
                <th>Birth Date</th>
                <th class="text-center">Actions</th>
            </tr>
        </thead>
        <tbody>
            {% for child in object_list %}
                <tr>
                    <th scope="row">{{ child.id }}</th>
                    <td><a href="{% url 'child-update' child.id %}">{{ child.first_name }}</a></td>
                    <td>{{ child.last_name }}</td>
                    <td>{{ child.birth_date }}</td>
                    <td class="text-center">
                        <div class="btn-group btn-group-sm" role="group" aria-label="Child actions">
                            <a href="{% url 'child-update' child.id %}" class="btn btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i></a>
                            <a href="{% url 'child-delete' child.id %}" class="btn btn-danger"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
                        </div>
                    </td>
                </tr>
            {% empty %}
                <tr>
                    <th colspan="4">No children added.</th>
                </tr>
            {% endfor %}
        </tbody>
    </table>
    <a href="{% url 'child-add' %}" class="btn btn-sm btn-success"><i class="fa fa-child" aria-hidden="true"></i> Add a Child</a>
{'fraction_non_alphanumeric': 0.18108527131782945, 'fraction_numerical': 0.0031007751937984496, 'mean_word_length': 1.3967310549777117, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, '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': '2537511', 'n_tokens_mistral': 1019, 'n_tokens_neox': 922, 'n_words': 206}