From d410e1ef6c5ca3f6f20ee40a9f98e91ec9e92129 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 21 Apr 2019 23:21:24 -0400 Subject: [PATCH] Insert the cabinet in the template context Signed-off-by: Roberto Rosario --- mayan/apps/cabinets/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mayan/apps/cabinets/views.py b/mayan/apps/cabinets/views.py index 79606bcc45..d23b5a8230 100644 --- a/mayan/apps/cabinets/views.py +++ b/mayan/apps/cabinets/views.py @@ -74,6 +74,7 @@ class CabinetChildAddView(SingleObjectCreateView): 'title': _( 'Add new level to: %s' ) % self.get_object().get_full_path(), + 'object': self.get_object() }