Przeglądaj źródła

Fixes #15790: Fix live preview support for EventRule comments

Jeremy Stretch 2 lat temu
rodzic
commit
c9de3128ca
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      netbox/extras/forms/model_forms.py

+ 1 - 0
netbox/extras/forms/model_forms.py

@@ -265,6 +265,7 @@ class EventRuleForm(NetBoxModelForm):
         required=False,
         required=False,
         help_text=_('Enter parameters to pass to the action in <a href="https://json.org/">JSON</a> format.')
         help_text=_('Enter parameters to pass to the action in <a href="https://json.org/">JSON</a> format.')
     )
     )
+    comments = CommentField()
 
 
     fieldsets = (
     fieldsets = (
         (_('Event Rule'), ('name', 'description', 'content_types', 'enabled', 'tags')),
         (_('Event Rule'), ('name', 'description', 'content_types', 'enabled', 'tags')),