mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 17:59:11 -06:00
12011 fix module bay bulk create
This commit is contained in:
parent
b032742418
commit
0a2ae90411
@ -103,9 +103,9 @@ class RearPortBulkCreateForm(
|
|||||||
|
|
||||||
class ModuleBayBulkCreateForm(DeviceBulkAddComponentForm):
|
class ModuleBayBulkCreateForm(DeviceBulkAddComponentForm):
|
||||||
model = ModuleBay
|
model = ModuleBay
|
||||||
field_order = ('name', 'label', 'position_pattern', 'description', 'tags')
|
field_order = ('name', 'label', 'position', 'description', 'tags')
|
||||||
replication_fields = ('name', 'label', 'position')
|
replication_fields = ('name', 'label', 'position')
|
||||||
position_pattern = ExpandableNameField(
|
position = ExpandableNameField(
|
||||||
label=_('Position'),
|
label=_('Position'),
|
||||||
required=False,
|
required=False,
|
||||||
help_text=_('Alphanumeric ranges are supported. (Must match the number of names being created.)')
|
help_text=_('Alphanumeric ranges are supported. (Must match the number of names being created.)')
|
||||||
|
Loading…
Reference in New Issue
Block a user