Przeglądaj źródła

12011 fix module bay bulk create

Arthur 3 lat temu
rodzic
commit
0a2ae90411
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      netbox/dcim/forms/bulk_create.py

+ 2 - 2
netbox/dcim/forms/bulk_create.py

@@ -103,9 +103,9 @@ class RearPortBulkCreateForm(
 
 class ModuleBayBulkCreateForm(DeviceBulkAddComponentForm):
     model = ModuleBay
-    field_order = ('name', 'label', 'position_pattern', 'description', 'tags')
+    field_order = ('name', 'label', 'position', 'description', 'tags')
     replication_fields = ('name', 'label', 'position')
-    position_pattern = ExpandableNameField(
+    position = ExpandableNameField(
         label=_('Position'),
         required=False,
         help_text=_('Alphanumeric ranges are supported. (Must match the number of names being created.)')