]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/search.html
Migrate to Django 1.6
[osqa.git] / forum / skins / default / templates / search.html
index e413abdeda5052732e4b887ca16e489292120ce7..1cd95d7a62c6a480e9c2abd69b059a62c04ca097 100644 (file)
@@ -9,7 +9,8 @@
        {%  endblocktrans %}
 </div>
 <div id="main-body" style="text-align: center; height: 400px;">
-<form action="{% url search %}" method="get">
+<form action="{% url "search" %}" method="get">
+    {% csrf_token %}
     <div>
         <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" style="width: 600px" />
         <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />