X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1876ec0c8caf982704410cee305d0cde218421d4..390a606c867e39c828628322621419d9d2bce453:/forum/skins/default/templates/osqaadmin/set.html diff --git a/forum/skins/default/templates/osqaadmin/set.html b/forum/skins/default/templates/osqaadmin/set.html index 04e20d8..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 %} @@ -14,7 +13,13 @@ - + + {% if form.set.can_preview %} + + {% if form.set.name|contained_in:unsaved %} + + {% endif %} + {% endif %}