{% extends "base.html" %} {% block title %} {{ _("Unsubscribe") }} {% endblock %} {% block content %}

{{ self.title() }}

{{ _("This will blacklist an email address, preventing ContentDB from ever sending emails to it - including password resets.") }}

{% if form %} {% from "macros/forms.html" import render_field, render_submit_field %}
{{ form.hidden_tag() }}

{{ _("Please enter the email address you wish to blacklist.") }} {{ _("You will then need to confirm the email") }}

{{ render_field(form.email, tabindex=220) }} {{ render_submit_field(form.submit, tabindex=280) }}
{% else %}

{{ _("You may now unsubscribe.") }}

{% if user %}

{{ _("Unsubscribing may prevent you from being able to sign into the account '%(display_name)s'", display_name=user.display_name) }} .

{{ _('ContentDB will no longer be able to send "forget password" and other essential system emails. Consider editing your email notification preferences instead.') }}

{% else %}

{{ _("You won't be able to use this email with ContentDB anymore.") }}

{% endif %}
{% if user %} {{ _("Edit Notification Preferences") }} {% endif %}
{% endif %} {% endblock %}