taskapp/views/task.py
changeset 131 85276c5aee5c
parent 126 e5377fdaf110
child 135 0ede6b2c5cd1
--- a/taskapp/views/task.py	Sat Feb 27 14:38:01 2010 +0530
+++ b/taskapp/views/task.py	Sat Feb 27 17:20:22 2010 +0530
@@ -180,7 +180,7 @@
             reqMentor(task, new_mentor, user)
             return redirect(task_url)
         else:
-            return render_to_response('task/addmentor.html', {'form':form, 'errors':errors})
+            return render_to_response('task/addmentor.html', {'user':user,'form':form, 'errors':errors})
         
     else:
         return show_msg(user, 'You are not authorised to add mentors for this task', task_url, 'view the task')