{% extends 'material/frontend/base_module.html' %} {% load i18n material_form material_frontend %} {% block breadcrumbs_items %} {{ view.model|verbose_name_plural|title }} {% trans 'Delete' %} {% endblock %} {% block content %}
{% csrf_token %} {{ form }}
{% blocktrans with name=view.model|verbose_name plural_name=view.model|verbose_name_plural count objects_count=form.cleaned_data.pk.count %} Are you sure you want to delete the {{ name }} and related items? {% plural %} Are you sure you want to delete the {{ objects_count }} {{ plural_name }} and related items? {% endblocktrans %}
{% for model, items in deleted_objects.items %}
{{ model|verbose_name_plural|title }}
{% for item in items %} {% url item|frontend_urlname:'detail' item.pk as details_url %} {% if details_url %}{{ item }}{% else %}{{ item }}{% endif %} {% endfor %} {% endfor %}
{% endblock %}