<commit_before>{% extends "cms/base.html" %}
{% load wagtailcore_tags wagtailimages_tags %}

{% block meta_title %}Form{% endblock %}

{% block main %}
    <div class="page-content">
        <div class="default-banner shadowed banner-block with-background ">
            <h2 class="subtitle">Submit your request</h2>
            <h1>{{ page.title }}</h1>
        </div>
        <div class="rich-text">
            <p>{{ page.intro|richtext }}</p>
        </div>
        <form class="kdl-form" action="{% pageurl page %}" method="POST" enctype="multipart/form-data">
            {% csrf_token %}
            {% for field in form %}
                <p>
                 {{ field.label_tag }}
                {{ field.errors }}
                {% if field.help_text %}
                    {{ field.help_text|safe }}
                {% endif %}
                 {{ field }}
                </p>
            {% endfor %}
            <input class="button" type="submit">
        </form>
    </div>
{% endblock %}<commit_msg>turned off browser validation, added required asterisk<commit_after>{% extends "cms/base.html" %}
{% load wagtailcore_tags wagtailimages_tags %}

{% block meta_title %}Form{% endblock %}

{% block main %}
    <div class="page-content">
        <div class="default-banner shadowed banner-block with-background ">
            <h2 class="subtitle">Submit your request</h2>
            <h1>{{ page.title }}</h1>
        </div>
        <div class="rich-text">
            <p>{{ page.intro|richtext }}</p>
        </div>
        <form class="kdl-form" action="{% pageurl page %}" method="POST" enctype="multipart/form-data" novalidate>
            {% csrf_token %}
            {% for field in form %}
                <p>
                    <label for="{{ field.label }}">{{ field.label_tag }}
                        {% if field.field.required %}<span class="special_class">*</span>{% endif %}</label>
                    {{ field.errors }}
                    {% if field.help_text %}
                        {{ field.help_text|safe }}
                    {% endif %}
                    {{ field }}
                </p>
            {% endfor %}
            <input class="button" type="submit">
        </form>
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.16311111111111112, 'fraction_numerical': 0.0035555555555555557, 'mean_word_length': 1.6576151121605667, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '4647592', 'n_tokens_mistral': 704, 'n_tokens_neox': 624, 'n_words': 138}