From 808c9e7d5dde8e97476c4c48e0e6b13096b8415f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Nov 2013 09:28:29 +0100 Subject: [PATCH] use post requests for disconnecting from social account --- .../templates/accounts/user_profile.html | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/nsupdate/accounts/templates/accounts/user_profile.html b/nsupdate/accounts/templates/accounts/user_profile.html index f15af82..f155ffc 100644 --- a/nsupdate/accounts/templates/accounts/user_profile.html +++ b/nsupdate/accounts/templates/accounts/user_profile.html @@ -15,17 +15,20 @@

Associate with remote Account

- + {% for backend in backends.not_associated %} +
+ +
+ {% endfor %}

Deassociate from remote Account

- + {% for socauth in backends.associated %} +
+ {% csrf_token %} + +
+ {% endfor %}