sdi/views.py
branchanoop
changeset 126 98eb8dc364ba
parent 125 92f77f8428e7
child 128 16b3557b4260
equal deleted inserted replaced
125:92f77f8428e7 126:98eb8dc364ba
   213     participant_info.participant = user
   213     participant_info.participant = user
   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         return render_to_response("cnf_sgd_ptc.html", {"user":user})
   219         return render_to_response("cnf_sgd_ptc.html", {"user":user, "form":form})
       
   220 
   219 
   221 
   220 
   222 def admin_login(request):
   221 def admin_login(request):
   223     """ basic login.
   222     """ basic login.
   224     """
   223     """