fixed a typo and improvised the template anoop
authornishanth
Sat, 17 Jul 2010 01:17:37 +0530
branchanoop
changeset 125 92f77f8428e7
parent 124 d4a7644e7fe8
child 126 98eb8dc364ba
fixed a typo and improvised the template
sdi/views.py
templates/cnf_sgd_ptc.html
--- a/sdi/views.py	Sat Jul 17 01:14:36 2010 +0530
+++ b/sdi/views.py	Sat Jul 17 01:17:37 2010 +0530
@@ -216,7 +216,7 @@
         pass
     else:
         form = ParticipantInfoForm(instance=participant_info)
-        return render_to_response("cnf_sgd_ptc.html", {"user":user})
+        return render_to_response("cnf_sgd_ptc.html", {"user":user, "form":form})
 
 
 def admin_login(request):
--- a/templates/cnf_sgd_ptc.html	Sat Jul 17 01:14:36 2010 +0530
+++ b/templates/cnf_sgd_ptc.html	Sat Jul 17 01:17:37 2010 +0530
@@ -7,8 +7,8 @@
 Thank you for your interest in attending Sage Days.
 <br /> <br />
 There are just a few more details we would like to know.<br />
+<br />
 Please fill the following details and confirm your participation.<br />
-<br />
 <form action="?email={{user.email}}" method=post>
 		{{form.as_p}}
 <input type=submit value="I confirm my participation in Sage Days 25" />