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

@@ -80,9 +80,7 @@
</tr>
</table>
</div>
{% with service.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'inc/custom_fields_panel.html' with custom_fields=service.get_custom_fields %}
</div>
</div>
{% endblock %}