]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/search.html
enabling the CSRF protection middleware and adding the {% csrf_token %} tag to the...
[osqa.git] / forum / skins / default / templates / search.html
index e413abdeda5052732e4b887ca16e489292120ce7..05b9de6fad3fa018b2b204e51195094ad0cf065d 100644 (file)
@@ -10,6 +10,7 @@
 </div>
 <div id="main-body" style="text-align: center; height: 400px;">
 <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" />