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

{% block container %}
    <h1>Enter Result</h1>
    <h3>{{ ladder }}</h3>
    <h4>{{ user.first_name }} {{ user.last_name }}</h4>

    <form id="add_result_form"
          action="{% url 'result_entry_add' %}"
          method="post">
        {% csrf_token %}

        {{ form.non_field_errors }}
        {{ form.source.errors }}
        {{ form.source }}
        <label for="{{ form.opponent.id_for_label }}">
            {{ form.opponent.label_tag }}
        </label>
        {{ form.opponent }}

        <label for="{{ form.winner.id_for_label }}">
            {{ form.winner.label_tag }}
        </label>
        {{ form.winner }}

        <label for="{{ form.result.id_for_label }}">
            {{ form.result.label_tag }}
        </label>
        {{ form.result }}
        {{ form.player }}

        <p>
            <input type="submit" class="btn btn-primary btn-lg" value="Add Result"/>
        </p>
    </form>

    <p>If you need to submit an incomplete result, remove an incorrect result
        or would just rather submit results via email please contact us at
        <a href="mailto:<EMAIL>"><EMAIL></a></p>
{% endblock %}<commit_msg>prevent result entry for lockdown<commit_after>{% extends 'base.html' %}

{% block container %}
    <h1>Enter Result</h1>
    <h3>{{ ladder }}</h3>
    <h4>{{ user.first_name }} {{ user.last_name }}</h4>

    <p>Ladder postponed until club has reopened after lockdown.</p>

    <!-- <form id="add_result_form"
          action="{% url 'result_entry_add' %}"
          method="post">
        {% csrf_token %}

        {{ form.non_field_errors }}
        {{ form.source.errors }}
        {{ form.source }}
        <label for="{{ form.opponent.id_for_label }}">
            {{ form.opponent.label_tag }}
        </label>
        {{ form.opponent }}

        <label for="{{ form.winner.id_for_label }}">
            {{ form.winner.label_tag }}
        </label>
        {{ form.winner }}

        <label for="{{ form.result.id_for_label }}">
            {{ form.result.label_tag }}
        </label>
        {{ form.result }}
        {{ form.player }}

        <p>
            <input type="submit" class="btn btn-primary btn-lg" value="Add Result"/>
        </p>
    </form> -->

    <p>If you need to submit an incomplete result, remove an incorrect result
        or would just rather submit results via email please contact us at
        <a href="mailto:<EMAIL>"><EMAIL></a></p>
{% endblock %}
{'fraction_non_alphanumeric': 0.17042707493956485, 'fraction_numerical': 0.004834810636583401, 'mean_word_length': 2.073019801980198, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, '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': '5514017', 'n_tokens_mistral': 798, 'n_tokens_neox': 760, 'n_words': 172}