diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-11-11 15:43:55 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-11-11 15:43:55 +0200 |
commit | 19444b3b1c3d80b860d9d749942b7d2558950bcb (patch) | |
tree | 0942f5e005b7f607ee64d73978a6cf7912945adc /servo/templates/default.html | |
parent | f51bc293756243e6880a1419a82fb51ea1733a30 (diff) | |
download | Servo-19444b3b1c3d80b860d9d749942b7d2558950bcb.tar.gz Servo-19444b3b1c3d80b860d9d749942b7d2558950bcb.tar.bz2 Servo-19444b3b1c3d80b860d9d749942b7d2558950bcb.zip |
Refactored searches into separate module
Diffstat (limited to 'servo/templates/default.html')
-rwxr-xr-x | servo/templates/default.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/servo/templates/default.html b/servo/templates/default.html index adcc592..8a62a4a 100755 --- a/servo/templates/default.html +++ b/servo/templates/default.html @@ -40,8 +40,9 @@ <li class="{% active request '^stats' %}"><a href="{% url 'stats-index' %}"><i class="halflings stats white"></i> {% trans "Statistics" %}</a></li> </ul> <div class="nav-collapse collapse"> - <form class="navbar-search pull-right" method="get" action="{{ request|search_url }}"> + <form class="navbar-search pull-right" method="get" action="{% url 'search-spotlight' %}"> <input type="text" class="search-query" name="q" placeholder="{% trans "Search" %}" autocomplete="off" value="{{ request.session.search_query }}" id="toolbar-search" autofocus/> + <input type="hidden" name="hint" value="{{ search_hint|default:'orders' }}"/> </form> </div> </div> |