X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/24791e323ca709aa1c193096e6e4455390f7ac72..d116958f99e146428e96ef383e4d02e4683ae6ed:/apps/search/forms.py?ds=inline diff --git a/apps/search/forms.py b/apps/search/forms.py index 59b39ed65..60521f96a 100755 --- a/apps/search/forms.py +++ b/apps/search/forms.py @@ -14,7 +14,7 @@ class SearchForm(forms.Form): def __init__(self, source, *args, **kwargs): kwargs['auto_id'] = False super(SearchForm, self).__init__(*args, **kwargs) - self.fields['q'].widget.attrs['id'] = _('search') + self.fields['q'].widget.attrs['id'] = 'search' self.fields['q'].widget.attrs['autocomplete'] = 'off' self.fields['q'].widget.attrs['data-source'] = source if not 'q' in self.data: