From 14129c2a4e9b94274297efc32752f64a6a2b77a7 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 27 Jan 2012 16:53:32 +0100 Subject: [PATCH] fix --- apps/search/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.20.1