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
commit 6e81b0ac32

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