summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/user-link.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/patchwork/user-link.html')
-rw-r--r--templates/patchwork/user-link.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/patchwork/user-link.html b/templates/patchwork/user-link.html
new file mode 100644
index 0000000..3eeb527
--- /dev/null
+++ b/templates/patchwork/user-link.html
@@ -0,0 +1,30 @@
+{% extends "patchwork/base.html" %}
+
+{% block title %}{{ user.username }}{% endblock %}
+{% block heading %}link accounts for {{ user.username }}{% endblock %}
+
+
+{% block body %}
+
+{% if confirmation %}
+<p>A confirmation email has been sent to {{ confirmation.email }}.</p>
+
+<p>beta link: <a
+ href="{% url patchwork.views.user.link_confirm key=confirmation.key %}"
+ >{% url patchwork.views.user.link_confirm key=confirmation.key %}</a></p>
+
+{% else %}
+
+ {% if form.errors %}
+ <p>There was an error submitting your link request.</p>
+ {{ form.non_field_errors }}
+ {% endif %}
+
+ <form action="{% url patchwork.views.user.link %}" method="post">
+ {{linkform.email.errors}}
+ Link an email address: {{ linkform.email }}
+ </form>
+
+{% endif %}
+
+{% endblock %}