X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/febc8df810701062ed45c129c0e30c504db28849..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/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 c909f9b..1ff3525 100644 --- a/forum/skins/default/templates/osqaadmin/set.html +++ b/forum/skins/default/templates/osqaadmin/set.html @@ -1,28 +1,28 @@ -{% extends basetemplate %} - -{% load i18n %} -{% load extra_tags %} - -{% block subtitle %}{{ form.set.title }}{% endblock %} -{% block pagename %}{{ form.set.title }}{% endblock %} -{% block description %}{{ form.set.description }}{% endblock %} - -{% block admincontent %} -
- - {{ form.as_table }} - - - - -
- - {% if form.set.can_preview %} - - {% if form.set.name in unsaved %} - - {% endif %} - {% endif %} -
-
+{% extends basetemplate %} + +{% load i18n extra_tags extra_filters %} + +{% block subtitle %}{{ form.set.title }}{% endblock %} +{% block pagename %}{{ form.set.title }}{% endblock %} +{% block description %}{{ form.set.description }}{% endblock %} + +{% block admincontent %} +
+ {% csrf_token %} + + {{ form.as_table }} + + + + +
+ + {% if form.set.can_preview %} + + {% if form.set.name|contained_in:unsaved %} + + {% endif %} + {% endif %} +
+
{% endblock %} \ No newline at end of file