sdi/views.py
branchanoop
changeset 90 1a6e1af98624
parent 88 33200c7d163a
child 92 9f305face605
--- a/sdi/views.py	Wed Jul 14 20:20:33 2010 +0530
+++ b/sdi/views.py	Wed Jul 14 20:47:37 2010 +0530
@@ -5,7 +5,7 @@
 from django.contrib.auth import authenticate, login, logout
 
 from sage_days.sdi.models import Registrant
-from sage_days.sdi.forms import RegisterForm, SearchForm, EmailForm, LoginForm
+from sage_days.sdi.forms import RegisterForm, SearchForm, EmailForm, LoginForm, UserSelectForm
 from sage_days.sdi.events import send_reg_complete_mail, mail_invi
 from sage_days.settings import APACHE_URL_PREFIX as aup
 
@@ -117,7 +117,8 @@
     if request.method == "POST":
         pass
     else:
-        return render_to_response("send_workshop_confirm.html", {"matches":matches}) 
+        form = UserSelectForm(matches)
+        return render_to_response("send_workshop_confirm.html", {"form":form}) 
 
 def admin_login(request):
     """ basic login.