]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/user-link.html
templates: display projects as inline-block elements
[patchwork] / templates / patchwork / user-link.html
index 588a9994beeef29f569e43e502d6e49c4e1fa0af..e436c3a3313948f34228f3cd8a34604b35207735 100644 (file)
@@ -1,4 +1,4 @@
-{% extends "patchwork/base.html" %}
+{% extends "base.html" %}
 
 {% block title %}{{ user.username }}{% endblock %}
 {% block heading %}link accounts for {{ user.username }}{% endblock %}
@@ -7,11 +7,9 @@
 {% block body %}
 
 {% if confirmation and not error %}
-<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>
+<p>A confirmation email has been sent to {{ confirmation.email }}. Click
+on the link provided in the email to confirm that this address belongs to
+you.</p>
 
 {% else %}
 
@@ -23,7 +21,8 @@
     <ul class="errorlist"><li>{{error}}</li></ul>
    {% endif %}
 
-   <form action="{% url patchwork.views.user.link %}" method="post">
+   <form action="{% url 'patchwork.views.user.link' %}" method="post">
+    {% csrf_token %}
     {{linkform.email.errors}}
     Link an email address: {{ linkform.email }}
    </form>