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:
@@ -282,9 +282,7 @@
|
||||
{% endif %}
|
||||
</table>
|
||||
</div>
|
||||
{% with device.get_custom_fields as custom_fields %}
|
||||
{% include 'inc/custom_fields_panel.html' %}
|
||||
{% endwith %}
|
||||
{% include 'inc/custom_fields_panel.html' with custom_fields=device.get_custom_fields %}
|
||||
{% include 'extras/inc/tags_panel.html' with tags=device.tags.all url='dcim:device_list' %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
|
Reference in New Issue
Block a user