Преглед изворни кода

correct "You search for..." text and formatting on search results page

Tobias McNulty пре 7 година
родитељ
комит
6e89be1e0b
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>