X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/febc8df810701062ed45c129c0e30c504db28849..fb911ca1503de4dfea21871d271798f3082f582a:/forum/skins/default/templates/osqaadmin/set.html?ds=sidebyside diff --git a/forum/skins/default/templates/osqaadmin/set.html b/forum/skins/default/templates/osqaadmin/set.html index c909f9b..5cc427d 100644 --- a/forum/skins/default/templates/osqaadmin/set.html +++ b/forum/skins/default/templates/osqaadmin/set.html @@ -1,7 +1,6 @@ {% extends basetemplate %} -{% load i18n %} -{% load extra_tags %} +{% load i18n extra_tags extra_filters %} {% block subtitle %}{{ form.set.title }}{% endblock %} {% block pagename %}{{ form.set.title }}{% endblock %} @@ -17,7 +16,7 @@ {% if form.set.can_preview %} - {% if form.set.name in unsaved %} + {% if form.set.name|contained_in:unsaved %} {% endif %} {% endif %}