Skip to content

Commit 496cabc

Browse files
Merge pull request #7828 from rhyser9/7229_bug_add_vlans_link
Fix #7229: Fix context of VLAN table in VLAN Group view
2 parents d051db5 + a5a4801 commit 496cabc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox/templates/ipam/vlangroup.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% extends 'generic/object.html' %}
22
{% load helpers %}
33
{% load plugins %}
4+
{% load render_table from django_tables2 %}
45

56
{% block breadcrumbs %}
67
{{ block.super }}
@@ -68,7 +69,7 @@ <h5 class="card-header">
6869
VLANs
6970
</h5>
7071
<div class="card-body">
71-
{% include 'inc/table.html' with table=vlans_table %}
72+
{% render_table vlans_table 'inc/table.html' %}
7273
</div>
7374
{% if perms.ipam.add_vlan %}
7475
<div class="card-footer text-end noprint">

0 commit comments

Comments
 (0)