<commit_before>{% extends "base.html" %}
{% block group_name %}Connect{% endblock %}
{% block left_nav %}
    {% include "left_nav.html" %}
{% endblock %}
{% block content_head %}
    <h1 id="page_title">
        Manage Your Email Preferences
    </h1>
{% endblock %}
{% block content %}
<div class="forms-container">
    <p>Please provide your email address to manage your newsletters.</p>
    <form method="post" action="{% url 'newsletters_manager' %}" class="form">
        {% csrf_token %}
        <fieldset class="blockLabels">
            <ol>
            {% for field in form.visible_fields %}
                <li class="ctrlHolder">
                <h3{% if field.field.required %} class="required"{% endif %}>
                    {{ field.label_tag }}
                </h3>
                {% if not valid_email and not home %}
                    <div class="warning">
                    <span class="error-message">Enter a valid email</span>
                {% else %}
                    <div>
                {% endif %}
                {% if field.help_text %}
                    <p class="help">{{field.help_text}}</p>
                {% endif %}
                {{field}}
                </div>
            </li>
            {% endfor %}
            </ol>
        </fieldset>
    {% include "form_submit.inc.html" %}
    </form>
    <!--
    <p>
    {% if not user.is_anonymous %}
        <a href="{% url 'auth_login' %}?next={{request.path}}">Logout</a>
    {% else %}
        If you are part of the Carthage community, please<commit_msg>new intro text from communications office<commit_after>{% extends "base.html" %}
{% block group_name %}Connect{% endblock %}
{% block left_nav %}
    {% include "left_nav.html" %}
{% endblock %}
{% block content_head %}
    <h1 id="page_title">
        Manage Your Email Preferences
    </h1>
{% endblock %}
{% block content %}
<div class="forms-container">
    <p>
        Keep up with news from Carthage College by receiving our email
        newsletters.
        Carthage sends monthly email newsletters to our parents, alumni, and
        friends; and weekly email newsletters about Family Fun Night. To manage
        your email subscriptions, please enter your email address below.
        You will have an option to subscribe or unsubscribe from our
        email publications.
    </p>
    <form method="post" action="{% url 'newsletters_manager' %}" class="form">
        {% csrf_token %}
        <fieldset class="blockLabels">
            <ol>
            {% for field in form.visible_fields %}
                <li class="ctrlHolder">
                <h3{% if field.field.required %} class="required"{% endif %}>
                    {{ field.label_tag }}
                </h3>
                {% if not valid_email and not home %}
                    <div class="warning">
                    <span class="error-message">Enter a valid email</span>
                {% else %}
                    <div>
                {% endif %}
                {% if field.help_text %}
                    <p class="help">{{field.help_text}}</p>
                {% endif %}
                {{field}}
                </div>
            </li>
            {% endfor %}
            </ol>
        </fieldset>
    {% include "form_submit.inc.html" %}
    </form>
    <ul>
        <li>
            <a href="/communication-digital-media/">
            Interested in a communication major?
            </a>
        </li>
        <li>
            <a href="/communications-office/">
            Looking for the Office of Communications?
            </a>
        </li>
    </ul>
    <!--
    <p>
    {% if not user.is_anonymous %}
        <a href="{% url 'auth_login' %}?next={{request.path}}">Logout</a>
    {% else %}
        If you are part of the Carthage community, please
{'fraction_non_alphanumeric': 0.14016243122871366, 'fraction_numerical': 0.002095886822111606, 'mean_word_length': 1.6477115117891816, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 63, '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': '4196444', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1016, 'n_words': 289}