<commit_before>{% if c.PAGE_PATH == '/preregistration/index' %}
    <script type="text/javascript">
        $(function () {
            $('li:contains("promo code")').each(function() {
                $(this).remove();
            });
        });
    </script>
{% endif %}

{% if c.PAGE_PATH == '/registration/form' %}
    <script type="text/javascript">
        $(function () {
            $('#reprint_fee').insertAfter($.field('badge_status').parents('.form-group'));
        });
    </script>

    <div id="reprint_fee" class="form-group">
    {% include "kiosk_printing/reprint_fee.html" %}
    </div>
{% endif %}

<script type="text/javascript">
    $(function() {
        if ($("form[action*='delete']")) {
                $("form[action*='delete']").remove();
            }

        if ($("form[action*='lost_badge']")) {
            $("form[action*='lost_badge']").remove();
        }

        $("input").each(function() {
            $(this).prop('pattern','[^\u{1F600}-\u{1F6FF}]*').prop('title','No fields may contain emoji characters.');
        });

    });
</script><commit_msg>Re-enable delete button on '/groups/form' Fixes https://github.com/MidwestFurryFandom/mff-rams-plugin/issues/75.<commit_after>{% if c.PAGE_PATH == '/preregistration/index' %}
    <script type="text/javascript">
        $(function () {
            $('li:contains("promo code")').each(function() {
                $(this).remove();
            });
        });
    </script>
{% endif %}

{% if c.PAGE_PATH == '/registration/form' %}
    <script type="text/javascript">
        $(function () {
            $('#reprint_fee').insertAfter($.field('badge_status').parents('.form-group'));
        });
    </script>

    <div id="reprint_fee" class="form-group">
    {% include "kiosk_printing/reprint_fee.html" %}
    </div>
{% endif %}

<script type="text/javascript">
    $(function() {
        {% if '/groups/form' not in c.PAGE_PATH %}
        if ($("form[action*='delete']")) {
                $("form[action*='delete']").remove();
            }
        {% endif %}

        if ($("form[action*='lost_badge']")) {
            $("form[action*='lost_badge']").remove();
        }

        $("input").each(function() {
            $(this).prop('pattern','[^\u{1F600}-\u{1F6FF}]*').prop('title','No fields may contain emoji characters.');
        });

    });
</script>
{'fraction_non_alphanumeric': 0.2306711979609176, 'fraction_numerical': 0.00594732370433305, 'mean_word_length': 2.41799709724238, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 1, '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': '2387771', 'n_tokens_mistral': 778, 'n_tokens_neox': 728, 'n_words': 99}