Include blank comment form for personal view

- prevents issues with broken permissions breaking template rendering
This commit is contained in:
Adarnof 2016-03-14 00:57:16 +00:00
parent 33771a6018
commit 0d8ef642b6

View File

@ -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))