mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 14:00:17 +02:00
Include blank comment form for personal view
- prevents issues with broken permissions breaking template rendering
This commit is contained in:
parent
33771a6018
commit
0d8ef642b6
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user