mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-13 19:18:16 -06:00
Capitalize Wireless Filter Form Fields
This commit is contained in:
parent
af56e01fa5
commit
8462a313ad
@ -22,7 +22,7 @@ class WirelessLANGroupFilterForm(NetBoxModelFilterSetForm):
|
|||||||
parent_id = DynamicModelMultipleChoiceField(
|
parent_id = DynamicModelMultipleChoiceField(
|
||||||
queryset=WirelessLANGroup.objects.all(),
|
queryset=WirelessLANGroup.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Parent group')
|
label=_('Parent Group')
|
||||||
)
|
)
|
||||||
tag = TagFilterField(model)
|
tag = TagFilterField(model)
|
||||||
|
|
||||||
@ -51,17 +51,17 @@ class WirelessLANFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
|
|||||||
choices=add_blank_choice(WirelessLANStatusChoices)
|
choices=add_blank_choice(WirelessLANStatusChoices)
|
||||||
)
|
)
|
||||||
auth_type = forms.ChoiceField(
|
auth_type = forms.ChoiceField(
|
||||||
label=_('Authentication type'),
|
label=_('Authentication Type'),
|
||||||
required=False,
|
required=False,
|
||||||
choices=add_blank_choice(WirelessAuthTypeChoices)
|
choices=add_blank_choice(WirelessAuthTypeChoices)
|
||||||
)
|
)
|
||||||
auth_cipher = forms.ChoiceField(
|
auth_cipher = forms.ChoiceField(
|
||||||
label=_('Authentication cipher'),
|
label=_('Authentication Cipher'),
|
||||||
required=False,
|
required=False,
|
||||||
choices=add_blank_choice(WirelessAuthCipherChoices)
|
choices=add_blank_choice(WirelessAuthCipherChoices)
|
||||||
)
|
)
|
||||||
auth_psk = forms.CharField(
|
auth_psk = forms.CharField(
|
||||||
label=_('Pre-shared key'),
|
label=_('Pre-Shared Key'),
|
||||||
required=False
|
required=False
|
||||||
)
|
)
|
||||||
tag = TagFilterField(model)
|
tag = TagFilterField(model)
|
||||||
@ -85,17 +85,17 @@ class WirelessLinkFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
|
|||||||
choices=add_blank_choice(LinkStatusChoices)
|
choices=add_blank_choice(LinkStatusChoices)
|
||||||
)
|
)
|
||||||
auth_type = forms.ChoiceField(
|
auth_type = forms.ChoiceField(
|
||||||
label=_('Authentication type'),
|
label=_('Authentication Type'),
|
||||||
required=False,
|
required=False,
|
||||||
choices=add_blank_choice(WirelessAuthTypeChoices)
|
choices=add_blank_choice(WirelessAuthTypeChoices)
|
||||||
)
|
)
|
||||||
auth_cipher = forms.ChoiceField(
|
auth_cipher = forms.ChoiceField(
|
||||||
label=_('Authentication cipher'),
|
label=_('Authentication Cipher'),
|
||||||
required=False,
|
required=False,
|
||||||
choices=add_blank_choice(WirelessAuthCipherChoices)
|
choices=add_blank_choice(WirelessAuthCipherChoices)
|
||||||
)
|
)
|
||||||
auth_psk = forms.CharField(
|
auth_psk = forms.CharField(
|
||||||
label=_('Pre-shared key'),
|
label=_('Pre-Shared Key'),
|
||||||
required=False
|
required=False
|
||||||
)
|
)
|
||||||
tag = TagFilterField(model)
|
tag = TagFilterField(model)
|
||||||
|
Loading…
Reference in New Issue
Block a user