-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Comments field missing label on bulk edit #4033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Comments
Just needs a quick diff --git a/netbox/circuits/forms.py b/netbox/circuits/forms.py
index d5d78e7..b2ccde9 100644
--- a/netbox/circuits/forms.py
+++ b/netbox/circuits/forms.py
@@ -89,7 +89,8 @@ class ProviderBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEdi
label='Admin contact'
)
comments = CommentField(
- widget=SmallTextarea()
+ widget=SmallTextarea(),
+ label='Comments'
)
class Meta:
diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py
index e713d2c..cb301a4 100644
--- a/netbox/dcim/forms.py
+++ b/netbox/dcim/forms.py
@@ -676,7 +676,8 @@ class RackBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEditFor
widget=StaticSelect2()
)
comments = CommentField(
- widget=SmallTextarea
+ widget=SmallTextarea,
+ label='Comments'
)
class Meta:
diff --git a/netbox/virtualization/forms.py b/netbox/virtualization/forms.py
index ae516fc..ed1e5e2 100644
--- a/netbox/virtualization/forms.py
+++ b/netbox/virtualization/forms.py
@@ -171,7 +171,8 @@ class ClusterBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEdit
)
)
comments = CommentField(
- widget=SmallTextarea()
+ widget=SmallTextarea(),
+ label='Comments'
)
class Meta:
@@ -535,7 +536,8 @@ class VirtualMachineBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldB
label='Disk (GB)'
)
comments = CommentField(
- widget=SmallTextarea()
+ widget=SmallTextarea(),
+ label='Comments'
)
class Meta: |
Related to #3575 |
And also to #713 |
We'll get it one day. 😆 |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
Steps to Reproduce
/dcim/racks/
Edit selected
buttonExpected Behavior
The comments field on the right has a label
Observed Behavior
A mysterious field appears to have no label

The text was updated successfully, but these errors were encountered: