Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
1e18b33c
Commit
1e18b33c
authored
Dec 16, 2013
by
fred
Browse files
remove search form labels
parent
e6e77ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb/search.py
View file @
1e18b33c
...
...
@@ -160,7 +160,7 @@ view = search_view_factory(SearchView,
class
ListenArchivesForm
(
FacetedSearchForm
):
q
=
forms
.
CharField
(
required
=
False
,
label
=
_
(
'Search Sounds
'
)
)
q
=
forms
.
CharField
(
required
=
False
,
label
=
'
'
)
def
no_query_found
(
self
):
return
self
.
searchqueryset
.
all
()
...
...
@@ -200,7 +200,7 @@ listenArchives = search_view_factory(ListenArchivesView)
class
NewsArchivesForm
(
FacetedSearchForm
):
q
=
forms
.
CharField
(
required
=
False
,
label
=
_
(
'Search News
'
)
)
q
=
forms
.
CharField
(
required
=
False
,
label
=
'
'
)
def
no_query_found
(
self
):
return
self
.
searchqueryset
.
all
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment