From f4a7788333c21136e4b7e2b4f6985bd26374c8a4 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Wed, 24 Jul 2024 17:12:04 +0700 Subject: [PATCH] 11960 fix racktype form --- netbox/dcim/forms/model_forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/forms/model_forms.py b/netbox/dcim/forms/model_forms.py index d43caaee8..8eeba9fc8 100644 --- a/netbox/dcim/forms/model_forms.py +++ b/netbox/dcim/forms/model_forms.py @@ -213,9 +213,9 @@ class RackTypeForm(NetBoxModelForm): fieldsets = ( FieldSet('manufacturer', 'name', 'slug', 'description', 'form_factor', 'tags', name=_('Rack Type')), FieldSet( - 'airflow', 'width', 'u_height', + 'width', 'u_height', InlineFields('outer_width', 'outer_depth', 'outer_unit', label=_('Outer Dimensions')), - InlineFields('weight', 'max_weight', 'weight_unit', label=_('Weight')), + InlineFields('airflow', 'weight', 'max_weight', 'weight_unit', label=_('Chassis')), 'mounting_depth', name=_('Dimensions') ), FieldSet('starting_unit', 'desc_units', name=_('Numbering')),