fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty
[wolnelektury.git]
/
apps
/
search
/
forms.py
diff --git
a/apps/search/forms.py
b/apps/search/forms.py
index
59b39ed
..
60521f9
100755
(executable)
--- 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)
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:
self.fields['q'].widget.attrs['autocomplete'] = 'off'
self.fields['q'].widget.attrs['data-source'] = source
if not 'q' in self.data: