<commit_before>{% extends "teacheradmin/base_teacheradmin.html" %}

{% load i18n %}

{% block extraheader %}
{{ form.media }}
{% endblock %}

{% block nav-teacheradmin-info %}active{% endblock %}

{% block section %}
<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
    {{ form.non_field_errors }}
    <div class="row">
        <div class="span10">
            <p>
                {{ form.status.errors }}
                {{ form.status.label_tag }}
                {{ form.status }}
                {% if form.status.help_text %}<span class="help-inline">{{ form.status.help_text }}</span>{% endif %}
            </p>
        </div>
    </div>
    <div class="row">
        <div class="span5">
            <p>
                {{ form.name.errors }}
                {{ form.name.label_tag }}
                {{ form.name }}
                {% if form.name.help_text %}<span class="help-inline">{{ form.name.help_text }}</span>{% endif %}
            <p>
                {{ form.promotion_media_content_type.errors }}
                {{ form.promotion_media_content_type.label_tag }}
                {{ form.promotion_media_content_type }}
                {% if form.promotion_media_content_type.help_text %}<span class="help-inline">{{ form.promotion_media_content_type.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.promotion_media_content_id.errors }}
                <label for="id_promotion_media_content_id">{% trans "Content id or url" %}</label>
                {{ form.promotion_media_content_id }}
                {% if form.promotion_media_content_id.help_text %}<span class="help-inline">{{ form.promotion_media_content_id.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.max_reservations_pending.errors }}
                {{ form.max_reservations_pending.label_tag }}
                {{ form.max_reservations_pending }}
                {% if form.max_reservations_pending.help_text %}<span class="help-inline">{{ form.max_reservations_pending.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.enrollment_method.errors }}
                {{ form.enrollment_method.label_tag }}
                {{ form.enrollment_method }}
                {% if form.enrollment_method.help_text %}<span class="help-inline">{{ form.enrollment_method.help_text }}</span>{% endif %}
            </p>
        </div>
        <div class="span5">
            <p>
                {{ form.start_date.errors }}
                {{ form.start_date.label_tag }}
                <input type="date" name="start_date" id="start_date" value="{{ form.start_date.value|date:'Y-m-d' }}" class="input-xlarge" />
                {% if form.start_date.help_text %}<span class="help-inline">{{ form.start_date.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.end_date.errors }}
                {{ form.end_date.label_tag }}
                <input type="date" name="end_date" id="end_date" value="{{ form.end_date.value|date:'Y-m-d' }}" class="input-xlarge" />
                {% if form.end_date.help_text %}<span class="help-inline">{{ form.end_date.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.threshold.errors }}
                {{ form.threshold.label_tag }}
                {{ form.threshold }}
                {% if form.threshold.help_text %}<span class="help-inline">{{ form.threshold.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.max_reservations_total.errors }}
                {{ form.max_reservations_total.label_tag }}
                {{ form.max_reservations_total }}
                {% if form.max_reservations_total.help_text %}<span class="help-inline">{{ form.max_reservations_total.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.completion_badge.errors }}
                {{ form.completion_badge.label_tag }}
                {{ form.completion_badge }}
                {% if form.completion_badge.help_text %}<span class="help-inline">{{ form.completion_badge.help_text }}</span>{% endif %}
        </div><commit_msg>Fixed missing tag in teacheradmin<commit_after>{% extends "teacheradmin/base_teacheradmin.html" %}

{% load i18n %}

{% block extraheader %}
{{ form.media }}
{% endblock %}

{% block nav-teacheradmin-info %}active{% endblock %}

{% block section %}
<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
    {{ form.non_field_errors }}
    <div class="row">
        <div class="span10">
            <p>
                {{ form.status.errors }}
                {{ form.status.label_tag }}
                {{ form.status }}
                {% if form.status.help_text %}<span class="help-inline">{{ form.status.help_text }}</span>{% endif %}
            </p>
        </div>
    </div>
    <div class="row">
        <div class="span5">
            <p>
                {{ form.name.errors }}
                {{ form.name.label_tag }}
                {{ form.name }}
                {% if form.name.help_text %}<span class="help-inline">{{ form.name.help_text }}</span>{% endif %}
            <p>
                {{ form.promotion_media_content_type.errors }}
                {{ form.promotion_media_content_type.label_tag }}
                {{ form.promotion_media_content_type }}
                {% if form.promotion_media_content_type.help_text %}<span class="help-inline">{{ form.promotion_media_content_type.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.promotion_media_content_id.errors }}
                <label for="id_promotion_media_content_id">{% trans "Content id or url" %}</label>
                {{ form.promotion_media_content_id }}
                {% if form.promotion_media_content_id.help_text %}<span class="help-inline">{{ form.promotion_media_content_id.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.max_reservations_pending.errors }}
                {{ form.max_reservations_pending.label_tag }}
                {{ form.max_reservations_pending }}
                {% if form.max_reservations_pending.help_text %}<span class="help-inline">{{ form.max_reservations_pending.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.enrollment_method.errors }}
                {{ form.enrollment_method.label_tag }}
                {{ form.enrollment_method }}
                {% if form.enrollment_method.help_text %}<span class="help-inline">{{ form.enrollment_method.help_text }}</span>{% endif %}
            </p>
        </div>
        <div class="span5">
            <p>
                {{ form.start_date.errors }}
                {{ form.start_date.label_tag }}
                <input type="date" name="start_date" id="start_date" value="{{ form.start_date.value|date:'Y-m-d' }}" class="input-xlarge" />
                {% if form.start_date.help_text %}<span class="help-inline">{{ form.start_date.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.end_date.errors }}
                {{ form.end_date.label_tag }}
                <input type="date" name="end_date" id="end_date" value="{{ form.end_date.value|date:'Y-m-d' }}" class="input-xlarge" />
                {% if form.end_date.help_text %}<span class="help-inline">{{ form.end_date.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.threshold.errors }}
                {{ form.threshold.label_tag }}
                {{ form.threshold }}
                {% if form.threshold.help_text %}<span class="help-inline">{{ form.threshold.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.max_reservations_total.errors }}
                {{ form.max_reservations_total.label_tag }}
                {{ form.max_reservations_total }}
                {% if form.max_reservations_total.help_text %}<span class="help-inline">{{ form.max_reservations_total.help_text }}</span>{% endif %}
            </p>
            <p>
                {{ form.completion_badge.errors }}
                {{ form.completion_badge.label_tag }}
                {{ form.completion_badge }}
                {% if form.completion_badge.help_text %}<span class="help-inline">{{ form.completion_badge.help_text }}</span>{% endif %}
            </p>
        </div>
{'fraction_non_alphanumeric': 0.15901310352968953, 'fraction_numerical': 0.0014165978042734034, 'mean_word_length': 1.9063464837049742, 'pattern_counts': {'":': 0, '<': 116, '<?xml version=': 0, '>': 116, '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': '2397939', 'n_tokens_mistral': 2680, 'n_tokens_neox': 2467, 'n_words': 372}