{% extends "mapentity/mapentity_form.html" %} {% load i18n static mapentity_tags %} {% block mainform %} {% if object %} {% if perms.core.change_draft_path and not perms.core.change_path %}

{% trans "Draft mode" %}

{% endif %} {% else %} {% if perms.core.add_draft_path and not perms.core.add_path %}

{% trans "Draft mode" %}

{% endif %} {% endif %} {{ block.super }} {% endblock mainform %}