Moved all searching to search view.
[wolnelektury.git] / templates / catalogue / main_page.html
index 44fe7d4..507fa3a 100644 (file)
@@ -1,13 +1,11 @@
 {% extends "base.html" %}
-{% load catalogue chunks %}
+{% load catalogue_tags chunks %}
 
 {% block bodyid %}main-page{% endblock %}
 
 {% block extrahead %}
     <script type="text/javascript" charset="utf-8">
         $(function() {
-            $('#id_q').labelify({labelledClass: 'blur'});
-            
             $('#categories-list ul').columnize({width: 180});
             $('#themes-list ul').columnize({width: 180});
         });
 {% endblock %}
 
 {% block body %}
-    <form action="." method="get" accept-charset="utf-8" id="search-form">
-        <p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url catalogue.views.book_list %}">zobacz spis utworów</a> w naszym zbiorze</p>
+    <div id="site-description">
+        {% chunk "site-description" %}
+    </div>
+    <div class="clearboth"></div>
+    <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
+        <p>{{ form.q }} {{ form.tags }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url catalogue.views.book_list %}">zobacz spis utworów</a> w naszym zbiorze</p>
     </form>
     
     <div id="tags-list">