feat: Style comment field

This commit is contained in:
2024-05-30 14:39:28 +02:00
parent aebbe0f6c6
commit ae57d90cf3
4 changed files with 42 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ def adoption_notice_detail(request, adoption_notice_id):
raise PermissionDenied
else:
comment_form = CommentForm(instance=adoption_notice)
context = {"adoption_notice": adoption_notice, "comment_form": comment_form}
context = {"adoption_notice": adoption_notice, "comment_form": comment_form, "user": request.user}
return render(request, 'fellchensammlung/details/detail_adoption_notice.html', context=context)