1
0
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:
Jeremy Stretch
2017-08-30 12:07:11 -04:00
parent 643f64df3f
commit fde47133da

View File

@ -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'