Remove the empty custom-fields box on the network device form

This commit is contained in:
2026-08-05 14:43:10 -04:00
parent 07d390789a
commit c965494189

View File

@@ -254,10 +254,12 @@
</div> </div>
</fieldset> </fieldset>
<!-- Site-defined custom fields for network devices --> <!-- Site-defined custom fields for network devices.
<fieldset> NOT wrapped in a fieldset: the component renders nothing when a site
<CustomFieldsInputs ref="customFieldsRef" :assettypeid="NETWORK_ASSETTYPEID" :assetid="currentAssetId" /> has defined no custom fields, but a fieldset draws its border either
</fieldset> way, so an empty box appeared after Notes. Every other asset form
places this bare; this one was the exception. -->
<CustomFieldsInputs ref="customFieldsRef" :assettypeid="NETWORK_ASSETTYPEID" :assetid="currentAssetId" />
<!-- Form Actions --> <!-- Form Actions -->
<div class="form-actions"> <div class="form-actions">