mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-13 19:18:16 -06:00
Capitalize Tenancy MultiWord Filter Form Fields
This commit is contained in:
parent
162c438480
commit
7071f5ac62
@ -30,7 +30,7 @@ class TenantGroupFilterForm(NetBoxModelFilterSetForm):
|
|||||||
parent_id = DynamicModelMultipleChoiceField(
|
parent_id = DynamicModelMultipleChoiceField(
|
||||||
queryset=TenantGroup.objects.all(),
|
queryset=TenantGroup.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Parent group')
|
label=_('Parent Group')
|
||||||
)
|
)
|
||||||
tag = TagFilterField(model)
|
tag = TagFilterField(model)
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ class ContactGroupFilterForm(NetBoxModelFilterSetForm):
|
|||||||
parent_id = DynamicModelMultipleChoiceField(
|
parent_id = DynamicModelMultipleChoiceField(
|
||||||
queryset=ContactGroup.objects.all(),
|
queryset=ContactGroup.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Parent group')
|
label=_('Parent Group')
|
||||||
)
|
)
|
||||||
tag = TagFilterField(model)
|
tag = TagFilterField(model)
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ class ContactAssignmentFilterForm(NetBoxModelFilterSetForm):
|
|||||||
object_type_id = ContentTypeMultipleChoiceField(
|
object_type_id = ContentTypeMultipleChoiceField(
|
||||||
queryset=ObjectType.objects.with_feature('contacts'),
|
queryset=ObjectType.objects.with_feature('contacts'),
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Object type')
|
label=_('Object Type')
|
||||||
)
|
)
|
||||||
group_id = DynamicModelMultipleChoiceField(
|
group_id = DynamicModelMultipleChoiceField(
|
||||||
queryset=ContactGroup.objects.all(),
|
queryset=ContactGroup.objects.all(),
|
||||||
|
Loading…
Reference in New Issue
Block a user