{% extends 'generic/_base.html' %} {% load helpers %} {% load i18n %} {% comment %} Shared unlink confirmation page for both the per-row and bulk unlink views. Context: - parent: the AuthorizedKey / Credential the assignments are removed from - children: the Device/VM objects being unlinked (shown to the user) - pk_list: child PKs to round-trip as hidden inputs (bulk only; empty for per-row, where the child is identified by the URL) - return_url: validated URL to return to after the action {% endcomment %} {% block title %}{% trans "Unlink" %}{% endblock %} {% block content %}
{% trans "Confirm Unlink" %}

{% blocktrans with parent=parent count counter=children|length %} Unlink the following object from {{ parent }}? {% plural %} Unlink the following {{ counter }} objects from {{ parent }}? {% endblocktrans %}

    {% for child in children %}
  • {{ child|linkify }}
  • {% endfor %}

{% trans "This only removes the assignment. The object itself will not be deleted." %}

{% csrf_token %} {% for pk in pk_list %} {% endfor %}
{% trans "Cancel" %}
{% endblock content %}