{% if form %}
{{ form }}
{% endif %}
{% block message %}
{% if related_num > 0 %}
{% blocktrans with related_num=related_num %}There are {{ related_num }} related entries that are going to be delete as well because depend on this{% endblocktrans %}:
{% for name, objs in related.items %}
{{ name }}: {% for obj in objs %}{{ obj }}{% if not forloop.last %}, {% endif %}{% endfor %}