This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix search within personas/collections (bug 617038)
- Loading branch information
Jeff Balogh
committed
Dec 10, 2010
1 parent
470b3a1
commit b58283e
Showing
6 changed files
with
68 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{% set search_form = SearchForm(request) %} | ||
{% set search_form = SimpleSearchForm(request, None) %} | ||
<form action="{{ remora_url('/developers/search') }}" method="get"> | ||
<span class="wrap"> | ||
<input type="text" name="q" | ||
<span class="wrap"> | ||
<input type="text" name="q" required | ||
class="text {% if not search_form.q.data %}placeholder{% endif %}" | ||
value="{{ search_form.q.data or '' }}" required="required" | ||
value="{{ search_form.q.data or '' }}" | ||
placeholder="{{ _('Search developer documentation') }}"> | ||
</span> {# search-query #} | ||
<input type="image" class="submit go-button" src="{{ settings.MEDIA_URL }}img/zamboni/global/btn-search.png" title="{{ _('Search') }}" alt="{{ _('Search') }}" /> | ||
</form> | ||
<input type="image" class="submit go-button" src="{{ settings.MEDIA_URL }}img/zamboni/global/btn-search.png" title="{{ _('Search') }}"> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{% set search_form = SearchForm(request) %} | ||
<form action="{{ url('search.search') }}" method="get"> | ||
{% set search_form = SimpleSearchForm(request, search_cat) %} | ||
<form action="{{ url('search.search') }}"> | ||
<span class="wrap"> | ||
<input type="text" name="q" | ||
<input type="text" name="q" required | ||
class="text {% if not search_form.q.data %}placeholder{% endif %}" | ||
placeholder="{{ _('search for add-ons') }}" | ||
value="{{ search_form.q.data or '' }}" required="required"> | ||
placeholder="{{ search_form.placeholder() }}" | ||
value="{{ search_form.q.data or '' }}"> | ||
{{ search_form.cat|safe }} | ||
</span> | ||
<input type="image" class="submit" src="{{ settings.MEDIA_URL }}img/zamboni/global/btn-search.png" title="{{ _('Search') }}" alt="{{ _('Search') }}" /> | ||
</form> | ||
<input type="image" class="submit" src="{{ settings.MEDIA_URL }}img/zamboni/global/btn-search.png" title="{{ _('Search') }}"> | ||
</form> |