From: Radek Czajka Date: Fri, 27 Jan 2012 15:53:32 +0000 (+0100) Subject: fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/14129c2a4e9b94274297efc32752f64a6a2b77a7?ds=sidebyside;hp=--cc fix --- 14129c2a4e9b94274297efc32752f64a6a2b77a7 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: