fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 27 Jan 2012 15:53:32 +0000 (16:53 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 27 Jan 2012 15:53:32 +0000 (16:53 +0100)
apps/search/forms.py

index 59b39ed..60521f9 100755 (executable)
@@ -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: