# HG changeset patch # User nishanth # Date 1279311433 -19800 # Node ID 384049c3bcb82da555d143c754d9fc8df1ab1cb1 # Parent b5dfde8e43a9440faa39715ee4e24a5a8ee4c97e fixed a typo diff -r b5dfde8e43a9 -r 384049c3bcb8 sdi/views.py --- a/sdi/views.py Sat Jul 17 01:44:41 2010 +0530 +++ b/sdi/views.py Sat Jul 17 01:47:13 2010 +0530 @@ -215,7 +215,7 @@ form = ParticipantInfoForm(request.POST) if request.method == "POST" and form.is_valid(): data = form.cleaned_data - participant_info.has_laptop_for_sagedays = True if data['has_laptop'] == "Yes" else False + participant_info.has_laptop_for_sagedays = True if data['has_laptop_for_sagedays'] == "Yes" else False participant_info.sprinted_already = True if data['sprinted_already'] == "Yes" else False participant_info.will_sprint = data['will_sprint'] participant_info.save() diff -r b5dfde8e43a9 -r 384049c3bcb8 templates/cnf_sgd_ptc.html --- a/templates/cnf_sgd_ptc.html Sat Jul 17 01:44:41 2010 +0530 +++ b/templates/cnf_sgd_ptc.html Sat Jul 17 01:47:13 2010 +0530 @@ -12,8 +12,8 @@
Will you bring your own laptop for Sage Days 25: - + Have you participated in any kind of coding sprints: