mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix global search placeholder text
This commit is contained in:
@ -35,7 +35,7 @@ OBJ_TYPE_CHOICES = (
|
|||||||
|
|
||||||
class SearchForm(BootstrapMixin, forms.Form):
|
class SearchForm(BootstrapMixin, forms.Form):
|
||||||
q = forms.CharField(
|
q = forms.CharField(
|
||||||
label='Query', widget=forms.TextInput(attrs={'style': 'width: 350px'})
|
label='Search', widget=forms.TextInput(attrs={'style': 'width: 350px'})
|
||||||
)
|
)
|
||||||
obj_type = forms.ChoiceField(
|
obj_type = forms.ChoiceField(
|
||||||
choices=OBJ_TYPE_CHOICES, required=False, label='Type'
|
choices=OBJ_TYPE_CHOICES, required=False, label='Type'
|
||||||
|
Reference in New Issue
Block a user