mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-22 08:48:41 +02:00
Updated custom fields inclusion tag to use 'with'
This commit is contained in:
@@ -219,9 +219,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% with site.get_custom_fields as custom_fields %}
|
||||
{% include 'inc/custom_fields_panel.html' %}
|
||||
{% endwith %}
|
||||
{% include 'inc/custom_fields_panel.html' with custom_fields=site.get_custom_fields %}
|
||||
{% include 'extras/inc/tags_panel.html' with tags=site.tags.all url='dcim:site_list' %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
|
||||
Reference in New Issue
Block a user