<commit_before>{% extends 'admin/change_form.html' %}
{% load i18n %}
{% block submit_buttons_bottom %}
{% if adminform and add %}
<div class="submit-row">
<input type="submit" value="{% trans 'Next' %}" name="_continue" {{ onclick_attrib }}/>
</div>
{% else %}
{{block.super}}
{% endif %}
{% endblock %}<commit_msg>* prevent multiple form submissions.<commit_after>{% extends 'admin/change_form.html' %}
{% load i18n %}
{% block submit_buttons_bottom %}
{% if adminform and add %}
<script type="text/javascript">
(function ($) {
    var i = 0;
    $('form').submit(function () {
        i++; if(i > 1) { return false; }
    });
})(django.jQuery);
</script>
<div class="submit-row">
<input type="submit" value="{% trans 'Next' %}" name="_continue" {{ onclick_attrib }}/>
</div>
{% else %}
{{block.super}}
{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.22623345367027678, 'fraction_numerical': 0.007220216606498195, 'mean_word_length': 4.7379310344827585, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 12, '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': '4435590', 'n_tokens_mistral': 308, 'n_tokens_neox': 271, 'n_words': 68}