瀏覽代碼

Merge pull request #154 from tobiasmcnulty/search-results

correct "You search for..." text and formatting on search results page
Tobias McNulty 7 年之前
父節點
當前提交
9e4f69f95f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bakerydemo/templates/search/search_results.html

+ 1 - 1
bakerydemo/templates/search/search_results.html

@@ -9,7 +9,7 @@
     </h1>
 
     {% if search_results %}
-    You searched <p>{% if request.GET.query %} for “{{ request.GET.query }}”{% endif %}</p>
+    <p>You searched{% if search_query %} for “{{ search_query }}”{% endif %}</p>
         <ul>
             {% for result in search_results %}
                 <li>