sdi/views.py
branchanoop
changeset 125 92f77f8428e7
parent 124 d4a7644e7fe8
child 126 98eb8dc364ba
equal deleted inserted replaced
124:d4a7644e7fe8 125:92f77f8428e7
   214 
   214 
   215     if request.method == "POST":
   215     if request.method == "POST":
   216         pass
   216         pass
   217     else:
   217     else:
   218         form = ParticipantInfoForm(instance=participant_info)
   218         form = ParticipantInfoForm(instance=participant_info)
   219         return render_to_response("cnf_sgd_ptc.html", {"user":user})
   219         return render_to_response("cnf_sgd_ptc.html", {"user":user, "form":form})
   220 
   220 
   221 
   221 
   222 def admin_login(request):
   222 def admin_login(request):
   223     """ basic login.
   223     """ basic login.
   224     """
   224     """