1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8758: Allow empty string substitution when renaming objects in bulk

This commit is contained in:
jeremystretch
2022-03-04 13:30:32 -05:00
parent 5c48d116eb
commit 6423b386d2
2 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,9 @@ class BulkRenameForm(BootstrapMixin, forms.Form):
An extendable form to be used for renaming objects in bulk.
"""
find = forms.CharField()
replace = forms.CharField()
replace = forms.CharField(
required=False
)
use_regex = forms.BooleanField(
required=False,
initial=True,