mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-14 13:10:12 +02:00
Lots of cleanup
This commit is contained in:
@@ -183,5 +183,5 @@ def static_with_params(path, **params):
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def render_panel(context, panel):
|
||||
return mark_safe(panel.render(context))
|
||||
def render(context, component):
|
||||
return mark_safe(component.render(context))
|
||||
|
||||
Reference in New Issue
Block a user