<commit_before>{% extends "base_template.html" %}
{% load bootstrap %}
{% block content %}
<div class="container">
    <div class="row">
        <h2>Add a Property list</h2>
        <form action="{% url 'public_gate:property_list_add' %}" method="post">
            {% csrf_token %}
            {% if not form %}
                <div class="form-group">
                    <select class="form-control" name="file">
                        {% for file in files %}
                            <option value="{{ file }}">{{ file }}</option>
                        {% endfor %}
                    </select>
                    <button class="btn btn-group-lg btn-success" type="submit" value="select_recipe">Select recipe</button>
                </div>
            {% else %}
                <form action="{% url 'public_gate:test' %}" method="post">
                    {% csrf_token %}
                    {{ form | safe }}
                    <button class="btn btn-group-lg btn-success" type="submit" value="Add plist">Add plist</button>
                </form>
            {% endif %}
        </form>
    </div>
</div>
{% endblock %}<commit_msg>Fix link for adding plist<commit_after>{% extends "base_template.html" %}
{% load bootstrap %}
{% block content %}
<div class="container">
    <div class="row">
        <h2>Add a Property list</h2>
        <form action="{% url 'public_gate:property_list_add' %}" method="post">
            {% csrf_token %}
            {% if not form %}
                <div class="form-group">
                    <select class="form-control" name="file">
                        {% for file in files %}
                            <option value="{{ file }}">{{ file }}</option>
                        {% endfor %}
                    </select>
                    <button class="btn btn-group-lg btn-success" type="submit" value="select_recipe">Select recipe</button>
                </div>
            {% else %}
                <form action="{% url 'public_gate:property_list_add' %}" method="post">
                    {% csrf_token %}
                    {{ form | safe }}
                    <button class="btn btn-group-lg btn-success" type="submit" value="Add plist">Add plist</button>
                </form>
            {% endif %}
        </form>
    </div>
</div>
{% endblock %}
{'fraction_non_alphanumeric': 0.15741935483870967, 'fraction_numerical': 0.0017204301075268817, 'mean_word_length': 1.5365321701199564, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '6878913', 'n_tokens_mistral': 674, 'n_tokens_neox': 603, 'n_words': 146}