{% extends "freeadmin/generic_form.html" %}
{% block form %}
    <tr>
        <td>
        {% blocktrans with name=name %}Are you sure you want to destroy "{{ name }}"?{% endblocktrans %}
        <br />
        <br />
        {% blocktrans count counter=datasets|length %}
        This will delete all files within the dataset.
        {% plural %}
        This will delete all files within the dataset and child datasets.
        {% endblocktrans %}
        {% if attachments %}
            <br />
            <br />
            These dataset-dependent resources will also be deleted:
            <ul style="margin: 0;">
                {% for service in attachments %}
                    <li>
                        <strong>{{ service.type }}</strong><br>
                        <ul style="margin: 0;">
                            {% for attachment in service.attachments %}
                                <li>{{ attachment }}</li>
                            {% endfor %}
                        </ul>
                    </li>
                {% endfor %}
            </ul>
        {% endif %}
        </td>
    </tr>
{{ block.super }}
{% endblock %}
{% block oklabel %}{% trans "Yes" %}{% endblock %}
