Instantiate the new comment form class.
[matthijs/projects/xerxes.git] / influences / views.py
index 6a6f874a7c242d621d5ef595cfc9ebe7bb38b57d..f95cfb4bef28d031b93300261bd3c51cbb044c50 100644 (file)
@@ -176,7 +176,7 @@ def influence_detail(request, object_id):
     context  = {
         'object' : o,
         'comments' : comments,
-        'comment_form' : get_influence_comment_form(request.user.is_staff, None)
+        'comment_form' : get_influence_comment_form(request.user.is_staff, None)()
     }
     return render_to_response('influences/influence_detail.html', context, RequestContext(request))