misc: expose cell in context when rendering its manager (#7346)
This commit is contained in:
parent
650010b835
commit
f21cefe392
|
@ -28,6 +28,7 @@ def cell_form(context, cell):
|
|||
context['form'] = form_class(instance=cell, prefix='c%s' % cell.get_reference())
|
||||
else:
|
||||
context['form'] = None
|
||||
context['cell'] = cell
|
||||
cell_form_template = template.loader.get_template(cell.manager_form_template)
|
||||
with context.push():
|
||||
context.update(cell.get_extra_manager_context())
|
||||
|
|
Loading…
Reference in New Issue