1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Updated custom fields inclusion tag to use 'with'

This commit is contained in:
Jeremy Stretch
2018-07-10 11:02:37 -04:00
parent 4802e516e5
commit 663bbd025e
13 changed files with 13 additions and 39 deletions

View File

@@ -97,9 +97,7 @@
</div>
</div>
<div class="col-md-6">
{% with aggregate.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/custom_fields_panel.html' with custom_fields=aggregate.get_custom_fields %}
{% include 'extras/inc/tags_panel.html' with tags=aggregate.tags.all url='ipam:aggregate_list' %}
</div>
</div>