]> git.ozlabs.org Git - patchwork/blob - templates/patchwork/user-link.html
588a9994beeef29f569e43e502d6e49c4e1fa0af
[patchwork] / templates / patchwork / user-link.html
1 {% extends "patchwork/base.html" %}
2
3 {% block title %}{{ user.username }}{% endblock %}
4 {% block heading %}link accounts for {{ user.username }}{% endblock %}
5
6
7 {% block body %}
8
9 {% if confirmation and not error %}
10 <p>A confirmation email has been sent to {{ confirmation.email }}.</p>
11
12 <p>beta link: <a
13  href="{% url patchwork.views.user.link_confirm key=confirmation.key %}"
14  >{% url patchwork.views.user.link_confirm key=confirmation.key %}</a></p>
15
16 {% else %}
17
18    {% if form.errors %}
19    <p>There was an error submitting your link request.</p>
20     {{ form.non_field_errors }}
21    {% endif %}
22    {% if error %}
23     <ul class="errorlist"><li>{{error}}</li></ul>
24    {% endif %}
25
26    <form action="{% url patchwork.views.user.link %}" method="post">
27     {{linkform.email.errors}}
28     Link an email address: {{ linkform.email }}
29    </form>
30
31 {% endif %}
32
33 {% endblock %}