{% extends 'base.html' %} {% load helpers %} {% block title %}Reapply {{ device.device_type.name }} to {{ device.name }}?{% endblock %} {% block content %}
Confirm Update

Warning: The following operation will mutate {{ device.name }}. Please carefully review the components to be added and deleted and confirm below.

{% block message_extra %}{% endblock %}
    {% for name, actions in mutations.items %} {% if actions.add %}
  • {{ actions.add|length }} {{ name }}s will be added: {{ actions.add|join:', ' }}
  • {% endif %} {% if actions.edits %}
  • {{ actions.edits|length }} {{ name }}s will be edited: {% for name, edits in actions.edits.items %} {{ name }} (fields: {{edits|join:' ,'}}){% if not forloop.last %}, {% endif %} {% endfor %}
  • {% endif %} {% if actions.delete %}
  • {{ actions.delete|length }} {{ name }}s will be deleted: {{ actions.delete|join:', ' }}
  • {% endif %} {% endfor %}
{% csrf_token %} {% for field in form.hidden_fields %} {{ field }} {% endfor %}
Cancel
{% endblock %}