From 0d8ef642b6dc6ab9abb47da3244984bcef7e28f1 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Mon, 14 Mar 2016 00:57:16 +0000 Subject: [PATCH] Include blank comment form for personal view - prevents issues with broken permissions breaking template rendering --- hrapplications/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hrapplications/views.py b/hrapplications/views.py index e10cd50c..f3a27d45 100755 --- a/hrapplications/views.py +++ b/hrapplications/views.py @@ -84,7 +84,7 @@ def hr_application_personal_view(request, app_id): 'responses': ApplicationResponse.objects.filter(application=app), 'buttons': False, 'comments': ApplicationComment.objects.filter(application=app), - 'comment_form': None, + 'comment_form': HRApplicationCommentForm(), 'apis': [], } return render_to_response('registered/hrapplicationview.html', context, context_instance=RequestContext(request))