diff options
Diffstat (limited to 'patchwork/templates/patchwork/profile.html')
-rw-r--r-- | patchwork/templates/patchwork/profile.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchwork/templates/patchwork/profile.html b/patchwork/templates/patchwork/profile.html index 4ca78da..4a4b558 100644 --- a/patchwork/templates/patchwork/profile.html +++ b/patchwork/templates/patchwork/profile.html @@ -55,13 +55,13 @@ address.</p> <tr> <td>{{ email.email }}</td> <td> - {% ifnotequal user.email email.email %} + {% if user.email != email.email %} <form action="{% url 'user-unlink' person_id=email.id %}" method="post"> {% csrf_token %} <input type="submit" value="Unlink"/> </form> - {% endifnotequal %} + {% endif %} </td> <td> {% if email.is_optout %} |