diff --git a/netbox/dcim/forms/bulk_create.py b/netbox/dcim/forms/bulk_create.py index bfa492111..a95a80f63 100644 --- a/netbox/dcim/forms/bulk_create.py +++ b/netbox/dcim/forms/bulk_create.py @@ -94,7 +94,7 @@ class InterfaceBulkCreateForm( # class FrontPortBulkCreateForm( -# form_from_model(FrontPort, ['label', 'type', 'description', 'tags']), +# form_from_model(FrontPort, ['label', 'type', 'color', 'description', 'tags']), # DeviceBulkAddComponentForm # ): # pass diff --git a/netbox/dcim/forms/model_forms.py b/netbox/dcim/forms/model_forms.py index b2b013b80..9f3a6de63 100644 --- a/netbox/dcim/forms/model_forms.py +++ b/netbox/dcim/forms/model_forms.py @@ -1166,7 +1166,7 @@ class FrontPortTemplateForm(FrontPortFormMixin, ModularComponentTemplateForm): FieldSet('device_type', name=_('Device Type')), FieldSet('module_type', name=_('Module Type')), ), - 'name', 'label', 'type', 'positions', 'rear_ports', 'description', + 'name', 'label', 'type', 'color', 'positions', 'rear_ports', 'description', ), )