]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/answer_edit.html
OSQA-266
[osqa.git] / forum / skins / default / templates / answer_edit.html
index 64142005ce85dc2f7ace484b2bd2259d0c67bc1b..137b68413c7ca6ade8f3a9587cb93f426d90f0c4 100644 (file)
                 {{ form.text }}
                 <span class="form-error"></span>
                 <div class="preview-toggle"><span id="pre-collapse" 
-                                       title="{% trans "Toggle the real time Markdown editor preview" %}">{% trans "toggle preview" %}</span></div>
+                                       title="{% trans "Toggle the real time Markdown editor preview" %}">{% trans "toggle preview" %}</span>
+                               {% if settings.WIKI_ON %}
+                    <div style="float:right;">
+                        {{ form.wiki }} <span style="color:#000;cursor:help" title="{{form.wiki.help_text}}">{{ form.wiki.label_tag }} </span>
+                    </div>
+                    {% endif %}
+                </div>
                 <div id="previewer" class="wmd-preview"></div>
             </div>