Skip to content

Commit

Permalink
updating form to include tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmiller87 committed Sep 11, 2023
1 parent 6d83267 commit 3e65985
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nautobot_golden_config/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class Meta:
"match_config",
"custom_compliance",
"config_remediation",
"tags",
)


Expand Down Expand Up @@ -183,7 +184,7 @@ class Meta:
"""Boilerplate form Meta data for compliance feature."""

model = models.ComplianceFeature
fields = ("name", "slug", "description")
fields = ("name", "slug", "description", "tags")


class ComplianceFeatureFilterForm(NautobotFilterForm):
Expand Down Expand Up @@ -235,6 +236,7 @@ class Meta:
"name",
"description",
"regex",
"tags"
)


Expand Down Expand Up @@ -290,6 +292,7 @@ class Meta:
"description",
"regex",
"replace",
"tags"
)


Expand Down

0 comments on commit 3e65985

Please sign in to comment.