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

Merge pull request #1517 from huzichunjohn/issue_1514

Fixes #1514: No field to edit Cluster comments
This commit is contained in:
Jeremy Stretch
2017-09-20 11:53:43 -04:00
committed by GitHub

View File

@@ -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):