]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/set.html
adding some images for wmd
[osqa.git] / forum / skins / default / templates / osqaadmin / set.html
index c909f9bb6b463c81566b8b6bc55e5d7a315fd081..5cc427d366fd6ca7141a18487d3eabef12e32520 100644 (file)
@@ -1,7 +1,6 @@
 {% extends basetemplate %}\r
 \r
-{% load i18n %}\r
-{% load extra_tags %}\r
+{% load i18n extra_tags extra_filters %}\r
 \r
 {% block subtitle %}{{ form.set.title }}{% endblock %}\r
 {% block pagename %}{{ form.set.title }}{% endblock %}\r
@@ -17,7 +16,7 @@
                     <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" onclick="this.form.target=''; return true;" />\r
                     {% if form.set.can_preview %}\r
                         <input id="preview" name="preview" type="submit" value="{% trans "Preview" %}" onclick="this.form.target='_blank'; return true;" />\r
-                        {% if form.set.name in unsaved %}\r
+                        {% if form.set.name|contained_in:unsaved %}\r
                             <input id="reset" name="reset" type="submit" value="{% trans "Reset Changes" %}" onclick="this.form.target=''; return true;" />\r
                         {% endif %}\r
                     {% endif %}\r