]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/ask.html
resolves an issue with the vertical alignment of the text in the form buttons
[osqa.git] / forum / skins / default / templates / ask.html
index fa38b767b54ff936ed9d0595c43182c08c277a44..f2b5b5307620c1493bcaa6dafd16112928c9f89a 100644 (file)
@@ -33,7 +33,7 @@
             });
 
             //Tags autocomplete action
-               $("#id_tags").autocomplete("/matching_tags/", {
+               $("#id_tags").autocomplete("{% url matching_tags %}", {
                 minChars: 1,
                        matchContains: true,
                 max: 10,
@@ -94,6 +94,7 @@
 <div id="main-body" class="ask-body">
     <div id="askform">
         <form id="fmask" action="" method="post" accept-charset="utf-8">
+            {% csrf_token %}
                        {% if not request.user.is_authenticated %}
             <div class="message">
                 <span class="strong big">{% trans "You are welcome to start submitting your question anonymously." %}</span>