Capitalize Wireless Filter Form Fields

This commit is contained in:
mr1716 2024-05-13 12:32:46 -04:00 committed by GitHub
parent af56e01fa5
commit 8462a313ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ class WirelessLANGroupFilterForm(NetBoxModelFilterSetForm):
parent_id = DynamicModelMultipleChoiceField(
queryset=WirelessLANGroup.objects.all(),
required=False,
label=_('Parent group')
label=_('Parent Group')
)
tag = TagFilterField(model)
@ -51,17 +51,17 @@ class WirelessLANFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
choices=add_blank_choice(WirelessLANStatusChoices)
)
auth_type = forms.ChoiceField(
label=_('Authentication type'),
label=_('Authentication Type'),
required=False,
choices=add_blank_choice(WirelessAuthTypeChoices)
)
auth_cipher = forms.ChoiceField(
label=_('Authentication cipher'),
label=_('Authentication Cipher'),
required=False,
choices=add_blank_choice(WirelessAuthCipherChoices)
)
auth_psk = forms.CharField(
label=_('Pre-shared key'),
label=_('Pre-Shared Key'),
required=False
)
tag = TagFilterField(model)
@ -85,17 +85,17 @@ class WirelessLinkFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
choices=add_blank_choice(LinkStatusChoices)
)
auth_type = forms.ChoiceField(
label=_('Authentication type'),
label=_('Authentication Type'),
required=False,
choices=add_blank_choice(WirelessAuthTypeChoices)
)
auth_cipher = forms.ChoiceField(
label=_('Authentication cipher'),
label=_('Authentication Cipher'),
required=False,
choices=add_blank_choice(WirelessAuthCipherChoices)
)
auth_psk = forms.CharField(
label=_('Pre-shared key'),
label=_('Pre-Shared Key'),
required=False
)
tag = TagFilterField(model)