mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-16 16:52:17 -06:00
Updated custom fields inclusion tag to use 'with'
This commit is contained in:
@@ -147,9 +147,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% with ipaddress.get_custom_fields as custom_fields %}
|
||||
{% include 'inc/custom_fields_panel.html' %}
|
||||
{% endwith %}
|
||||
{% include 'inc/custom_fields_panel.html' with custom_fields=ipaddress.get_custom_fields %}
|
||||
{% include 'extras/inc/tags_panel.html' with tags=ipaddress.tags.all url='ipam:ipaddress_list' %}
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
|
||||
Reference in New Issue
Block a user