mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Merge pull request #1517 from huzichunjohn/issue_1514
Fixes #1514: No field to edit Cluster comments
This commit is contained in:
commit
6e81b0ac32
@ -49,10 +49,11 @@ class ClusterGroupForm(BootstrapMixin, forms.ModelForm):
|
||||
#
|
||||
|
||||
class ClusterForm(BootstrapMixin, CustomFieldForm):
|
||||
comments = CommentField(widget=SmallTextarea)
|
||||
|
||||
class Meta:
|
||||
model = Cluster
|
||||
fields = ['name', 'type', 'group']
|
||||
fields = ['name', 'type', 'group', 'comments']
|
||||
|
||||
|
||||
class ClusterCSVForm(forms.ModelForm):
|
||||
|
Loading…
Reference in New Issue
Block a user