fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for waiter.
[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
b67ae77
..
34af136
--- a/
src/search/forms.py
+++ b/
src/search/forms.py
@@
-1,4
+1,3
@@
-# -*- coding: utf-8 -*-
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
@@
-19,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')