From 29efe2f03dc69c71cefd9a6fbceb5e354566b512 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Sat, 2 Mar 2013 13:58:21 -0500 Subject: [PATCH] Start wiring UI to backend; #664 --- www/%participant_id/deactivate.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/%participant_id/deactivate.html b/www/%participant_id/deactivate.html index e049a81fd3..a9b0c9c7b4 100644 --- a/www/%participant_id/deactivate.html +++ b/www/%participant_id/deactivate.html @@ -2,6 +2,11 @@ ^L participant = get_participant(request) +if POST: + import pdb; pdb.set_trace() + participant.deactivate() + request.redirect('/') + locked = False tip_or_pledge = "tip" title = participant.id # used in the title tag