]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/ask.html
OSQA-435, the matching tags URL is now retrieved with the usage of the {% url %}...
[osqa.git] / forum / skins / default / templates / ask.html
index 04e959eabd74bf8c0b7b3da84de7dae16d4c1215..26f5fae95bd6264811f1317c66cc6650c5076f07 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,
                                {{ form.tags.help_text }}
                        </p>
                        
-            {% if form.captcha %}
+            {% if form.recaptcha %}
             <div class="question-captcha" style="float: left">
-               {{ form.captcha.errors }}
-               {{ form.captcha }}
+               {{ form.recaptcha.errors }}
+               {{ form.recaptcha }}
             </div>
             <div class="clear"></div>
             {% endif %}