<commit_before>{% extends "pretixcontrol/event/settings_base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block inside %}
    <form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
        {% csrf_token %}
        {% bootstrap_form_errors form %}
        <fieldset>
            <legend>{% trans "E-mail settings" %}</legend>
            {% bootstrap_field form.mail_prefix layout="horizontal" %}
            {% bootstrap_field form.mail_from layout="horizontal" %}
        </fieldset>
        <fieldset>
            <legend>{% trans "E-mail content" %}</legend>
            {% bootstrap_field form.mail_text_order_placed layout="horizontal" %}
            {% bootstrap_field form.mail_text_order_paid layout="horizontal" %}
            {% bootstrap_field form.mail_text_resend_link layout="horizontal" %}
        </fieldset>
        <fieldset>
            <legend>{% trans "SMTP settings" %}</legend>
            {% bootstrap_field form.smtp_use_custom layout="horizontal" %}
            {% bootstrap_field form.smtp_host layout="horizontal" %}
            {% bootstrap_field form.smtp_port layout="horizontal" %}
            {% bootstrap_field form.smtp_username layout="horizontal" %}
            {% bootstrap_field form.smtp_password layout="horizontal" %}
            {% bootstrap_field form.smtp_use_tls layout="horizontal" %}
            {% bootstrap_field form.smtp_use_ssl layout="horizontal" %}
        </fieldset>
        <div class="form-group submit-group">
            <button type="submit" class="btn btn-primary btn-save">
                {% trans "Save" %}
            </button>
            <button type="submit" class="btn btn-default btn-save pull-left" name="test" value="1">
                {% trans "Save and test custom SMTP connection" %}
            </button>
        </div>
    </form>
{% endblock %}<commit_msg>Fixed mail settings form that was missing a field<commit_after>{% extends "pretixcontrol/event/settings_base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block inside %}
    <form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
        {% csrf_token %}
        {% bootstrap_form_errors form %}
        <fieldset>
            <legend>{% trans "E-mail settings" %}</legend>
            {% bootstrap_field form.mail_prefix layout="horizontal" %}
            {% bootstrap_field form.mail_from layout="horizontal" %}
        </fieldset>
        <fieldset>
            <legend>{% trans "E-mail content" %}</legend>
            {% bootstrap_field form.mail_text_order_placed layout="horizontal" %}
            {% bootstrap_field form.mail_text_order_paid layout="horizontal" %}
            {% bootstrap_field form.mail_text_order_free layout="horizontal" %}
            {% bootstrap_field form.mail_text_resend_link layout="horizontal" %}
        </fieldset>
        <fieldset>
            <legend>{% trans "SMTP settings" %}</legend>
            {% bootstrap_field form.smtp_use_custom layout="horizontal" %}
            {% bootstrap_field form.smtp_host layout="horizontal" %}
            {% bootstrap_field form.smtp_port layout="horizontal" %}
            {% bootstrap_field form.smtp_username layout="horizontal" %}
            {% bootstrap_field form.smtp_password layout="horizontal" %}
            {% bootstrap_field form.smtp_use_tls layout="horizontal" %}
            {% bootstrap_field form.smtp_use_ssl layout="horizontal" %}
        </fieldset>
        <div class="form-group submit-group">
            <button type="submit" class="btn btn-primary btn-save">
                {% trans "Save" %}
            </button>
            <button type="submit" class="btn btn-default btn-save pull-left" name="test" value="1">
                {% trans "Save and test custom SMTP connection" %}
            </button>
        </div>
    </form>
{% endblock %}
{'fraction_non_alphanumeric': 0.13523316062176166, 'fraction_numerical': 0.002072538860103627, 'mean_word_length': 2.5585253456221198, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '4667605', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1024, 'n_words': 219}