]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/profile.html
Patchwork now requires Django 1.2, so state that in docs/INSTALL
[patchwork] / templates / patchwork / profile.html
index c204183ab923fc1084674b9e54333e1e5da5cf9f..44df9219122576deee36337e7566144a51d2c4b3 100644 (file)
@@ -39,7 +39,7 @@ Contributor to
 <h2>Linked email addresses</h2>
 <p>The following email addresses are associated with this patchwork account.
 Adding alternative addresses allows patchwork to group contributions that
-you have made under different addressses.</p>
+you have made under different addresses.</p>
 <p>Adding a new email address will send a confirmation email to that
 address.</p>
 <table class="vertical" style="width: 20em;">
@@ -59,6 +59,7 @@ address.</p>
    {% ifnotequal user.email email.email %}
    <form action="{% url patchwork.views.user.unlink person_id=email.id %}"
     method="post">
+    {% csrf_token %}
     <input type="submit" value="Unlink"/>
    </form>
     {% endifnotequal %}
@@ -68,6 +69,7 @@ address.</p>
  <tr>
   <td colspan="2">
    <form action="{% url patchwork.views.user.link %}" method="post">
+    {% csrf_token %}
     {{ linkform.email }}
     <input type="submit" value="Add"/>
    </form>
@@ -102,6 +104,7 @@ address.</p>
 <h2>Settings</h2>
 
 <form method="post">
+ {% csrf_token %}
  <table class="form">
 {{ profileform }}
   <tr>
@@ -114,6 +117,11 @@ address.</p>
 </form>
 </div>
 
+<div class="box">
+<h2>Authentication</h2>
+<a href="{% url django.contrib.auth.views.password_change %}">Change password</a>
+</div>
+
 </div>
 
 <p style="clear: both"></p>