fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[wolnelektury.git]
/
src
/
search
/
forms.py
diff --git
a/src/search/forms.py
b/src/search/forms.py
old mode 100755
(executable)
new mode 100644
(file)
index
d62ab64
..
4fa051d
--- a/
src/search/forms.py
+++ b/
src/search/forms.py
@@
-2,7
+2,7
@@
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django import forms
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django import forms
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from search.fields import JQueryAutoCompleteSearchField
from search.fields import JQueryAutoCompleteSearchField
@@
-18,4
+18,4
@@
class SearchForm(forms.Form):
self.fields['q'].widget.attrs['autocomplete'] = 'off'
self.fields['q'].widget.attrs['data-source'] = source
if 'q' not in self.data:
self.fields['q'].widget.attrs['autocomplete'] = 'off'
self.fields['q'].widget.attrs['data-source'] = source
if 'q' not in self.data:
- self.fields['q'].widget.attrs['placeholder'] = _('title, author,
theme/topic,
epoch, kind, genre, phrase')
+ self.fields['q'].widget.attrs['placeholder'] = _('title, author, epoch, kind, genre, phrase')