{% extends "admin/formative/confirmation.html" %} {% load i18n %} {% block content_title %} {% trans 'Unpublish' %} {% endblock %} {% block cardtitle %} {% trans 'Unpublish' %} {{ object }} {% endblock %} {% block cardcontent %}

Are you sure you want to unpublish the form "{{ object }}"?

{% if submissions %}

It is NOT recommended to unpublish a form that has submissions.
Consider making the form hidden, instead. TODO: link to export

All of the following related items will be deleted:

{% endif %} {% endblock %} {% block rowcontent %}
{% if submissions %}

{% trans "Objects" %}

{% endif %}
    {% for rec in submissions %}
  1. Submission: {{ rec.0 }} {% if rec.1 %}
      {{ rec.1 }} items
    {% endif %}
  2. {% endfor %}
{% endblock %} {% block formcontrols %}
{% trans "No, take me back" %}
{% endblock %}