mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 11:56:25 -06:00
Add is_primary field for bulk edit
This commit is contained in:
parent
57bc1887bc
commit
b0663305b7
@ -1284,11 +1284,16 @@ class MACAddressBulkEditForm(NetBoxModelBulkEditForm):
|
||||
max_length=200,
|
||||
required=False
|
||||
)
|
||||
is_primary = forms.NullBooleanField(
|
||||
label=_('Is primary'),
|
||||
required=False,
|
||||
widget=BulkEditNullBooleanSelect(),
|
||||
)
|
||||
comments = CommentField()
|
||||
|
||||
model = MACAddress
|
||||
fieldsets = (
|
||||
FieldSet('description'),
|
||||
FieldSet('description', 'is_primary'),
|
||||
)
|
||||
nullable_fields = (
|
||||
'description', 'comments',
|
||||
|
Loading…
Reference in New Issue
Block a user