]> 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 bb4ad67357cd8e3154ff1669f27737aaa97a0428..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,
                        <p class="title-desc">
                                {{ form.tags.help_text }}
                        </p>
+                       
+            {% if form.recaptcha %}
+            <div class="question-captcha" style="float: left">
+               {{ form.recaptcha.errors }}
+               {{ form.recaptcha }}
+            </div>
+            <div class="clear"></div>
+            {% endif %}
+                       
             {% if not request.user.is_authenticated %}                                                                        
             <input name="ask" type="button" value="{% trans "Login/signup to post your question" %}" class="submit" onclick="submitClicked(event, this.form)"/>
                        {% else %}