{% extends "base.html" %} {% block title %}opt-in{% endblock %} {% block heading %}opt-in{% endblock %} {% block body %} {% if email_sent %}

Opt-in confirmation email sent

An opt-in confirmation mail has been sent to {{confirmation.email}}, containing a link. Please click on that link to confirm your opt-in.

{% else %} {% if error %}

{{error}}

{% endif %} {% if form %}

This form allows you to opt-in to automated email from patchwork. Use this if you have previously opted-out of patchwork mail, but now want to received notifications from patchwork.

When you submit it, an email will be sent to your address with a link to click to finalise the opt-in. Patchwork does this to prevent someone opting you in without your consent.

{% csrf_token %} {{form.email.errors}}
{{form.email.label_tag}}: {{form.email}}
{% endif %} {% if error and admins %}

If you are having trouble opting in, please email {% for admin in admins %} {% if admins|length > 1 and forloop.last %} or {% endif %} {{admin.0}} <{{admin.1}}>{% if admins|length > 2 and not forloop.last %}, {% endif %} {% endfor %} {% endif %} {% endif %} {% if user.is_authenticated %}

Return to your user profile.

{% endif %} {% endblock %}