{# /** * @file * Theme override for the Email Unsubscribe form. */ #}

Manage Your Email Preferences

{% if form.info %}
{{ form.info }}
{% endif %} {# === Mailing Lists Section === #} {% if form.mailing_lists %}
{{ form.mailing_lists['#title'] }}
{% for key, item in form.mailing_lists %} {% if key|first != '#' %}
{{ item }} {# Renders checkbox input, label, and description automatically #}
{% endif %} {% endfor %}
{% endif %} {# === Administrative Mailings Section === #} {% if form.admin_mailings %}
{{ form.admin_mailings['#title'] }}
{% for key, item in form.admin_mailings %} {% if key|first != '#' %}
{{ item }} {# Renders checkbox input, label, and description automatically #}
{% endif %} {% endfor %}
{% endif %} {# === Unsubscribe From All === #} {% if form.unsubscribe_all %}
{{ form.unsubscribe_all }} {# Renders checkbox input + label automatically #}
{% endif %} {# === Submit Button === #}
{{ form.actions.submit }}
{# === Hidden Fields === #} {{ form.form_build_id }} {{ form.form_token }} {{ form.form_id }}