{% extends 'base.html' %} {% load buttons %} {% load helpers %} {% load static %} {% load django_tables2 %} {% block extra_styles %} {{ block.super }} {% endblock %} {% block content %}
{% csrf_token %}
Confirm Merging IP Addresses

Warning: The following operation will merge some or all of these {{ queryset.count }} IP Address records. Please select the record(s) you wish to merge and the attribute values you want to carry forward to the merged record.

{% block message_extra %}{% endblock %}
{% for field, value in queryset.first.get_custom_fields.items %} {% endfor %} {% with relationships=queryset.first.get_relationships_data %} {% if relationships.source or relationships.destination or relationships.peer %} {% for side, relationships in relationships.items %} {% for relationship, value in relationships.items %} {% endfor %} {% endfor %} {% endif %} {% endwith %} {% for ip in queryset %} {% for field, value in ip.get_custom_fields.items %} {% endfor %} {% with relationships=ip.get_relationships_data %} {% if relationships.source or relationships.destination or relationships.peer %} {% for side, relationships in relationships.items %} {% for relationship, value in relationships.items %} {% if not value.has_many and value.value %} {% elif value.has_many and value.queryset.count %} {% else %} {% endif %} {% endfor %} {% endfor %} {% endif %} {% endwith %} {% endfor %}
Merging IP Addresses Host Mask Length Namespace Type Status Role DNS Name Description Tenant NAT IP (Inside) Tags {{ field.label }} {{ value.label }}
{% if forloop.first %} {% else %} {% endif %}
{% block buttons %} Cancel {% endblock %}
{% endblock %} {% block javascript %} {{ block.super }} {% endblock javascript %}