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

Fixes #10053: Custom fields header should not be displayed when editing circuit terminations with no custom fields

This commit is contained in:
jeremystretch
2022-08-17 15:37:48 -04:00
parent 5327857f81
commit c7d6fe2d62
2 changed files with 11 additions and 5 deletions

View File

@ -2,6 +2,10 @@
## v3.3.1 (FUTURE)
### Bug Fixes
* [#10053](https://github.com/netbox-community/netbox/issues/10053) - Custom fields header should not be displayed when editing circuit terminations with no custom fields
---
## v3.3.0 (2022-08-17)

View File

@ -49,10 +49,12 @@
{% render_field form.description %}
</div>
<div class="field-group my-5">
<div class="row mb-2">
<h5 class="offset-sm-3">Custom Fields</h5>
{% if form.custom_fields %}
<div class="field-group mb-5">
<div class="row mb-2">
<h5 class="offset-sm-3">Custom Fields</h5>
</div>
{% render_custom_fields form %}
</div>
{% render_custom_fields form %}
</div>
{% endif %}
{% endblock %}