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

Fixes #6714: Fix rendering of device type component creation forms

This commit is contained in:
jeremystretch
2021-07-07 15:38:59 -04:00
parent 7c667f3485
commit 54dfa6cb7f
2 changed files with 2 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
{{ field }}
{% endfor %}
{% for field in form.visible_fields %}
{% if field.name not in form.custom_fields %}
{% if not form.custom_fields or field.name not in form.custom_fields %}
{% render_field field %}
{% endif %}
{% endfor %}