1 {% extends "base.html" %}
3 {% block title %}opt-in{% endblock %}
4 {% block heading %}opt-in{% endblock %}
8 <p><strong>Opt-in confirmation email sent</strong></p>
9 <p>An opt-in confirmation mail has been sent to
10 <strong>{{confirmation.email}}</strong>, containing a link. Please click on
11 that link to confirm your opt-in.</p>
14 <p class="error">{{error}}</p>
18 <p>This form allows you to opt-in to automated email from patchwork. Use
19 this if you have previously opted-out of patchwork mail, but now want to
20 received notifications from patchwork.</p>
21 When you submit it, an email will be sent to your address with a link to click
22 to finalise the opt-in. Patchwork does this to prevent someone opting you in
23 without your consent.</p>
24 <form method="post" action="">
27 <div style="padding: 0.5em 1em 2em;">
28 {{form.email.label_tag}}: {{form.email}}
30 <input type="submit" value="Send me an opt-in link">
34 {% if error and admins %}
35 <p>If you are having trouble opting in, please email
36 {% for admin in admins %}
37 {% if admins|length > 1 and forloop.last %} or {% endif %}
38 {{admin.0}} <<a href="mailto:{{admin.1}}">{{admin.1}}</a
39 >>{% if admins|length > 2 and not forloop.last %}, {% endif %}
45 {% if user.is_authenticated %}
46 <p>Return to your <a href="{% url 'patchwork.views.user.profile' %}">user