refactor: rename context variable from 'collection' to 'case' in CaseAuthorUpdate
This commit is contained in:
+1
-1
@@ -10588,7 +10588,7 @@ class CaseAuthorUpdate(RevisionMixin, AuthorRequiredMixin, UpdateView):
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(CaseAuthorUpdate, self).get_context_data(**kwargs)
|
||||
context["collection"] = context["object"]
|
||||
context["case"] = context["object"]
|
||||
return context
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user