sample solr config, add action to search form
[prawokultury.git] / prawokultury / templates / base.html
index 452e3f0..c76ee4d 100755 (executable)
@@ -35,7 +35,7 @@
 
         <div id="menu-bar">
         <div class="bar-right">
 
         <div id="menu-bar">
         <div class="bar-right">
-            <form id="search-form"><input /><button>
+            <form id="search-form" method="GET" action="/search/"><input name="q" /><button>
                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
             </button></form>
         </div>
                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
             </button></form>
         </div>
@@ -94,4 +94,4 @@
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
     {% compressed_js 'base' %}
     </body>
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
     {% compressed_js 'base' %}
     </body>
-</html>
\ No newline at end of file
+</html>