{% load i18n %}
{% if addr_analysis %}
{% for section in addr_analysis %}
{% if section.field_name %}
{{ section.field_name }}
{% endif %}
{% for type_block in section.types %}
{% if type_block.type_name and type_block.type_name != section.field_name %}
{{ type_block.type_name }}
{% endif %}
{% if type_block.nodes %}
{% trans "All" %}
{% if type_block.leaf_count %}{{ type_block.leaf_count }}{% endif %}
{% if type_block.all_copy_lines %}
{% endif %}
{% for node in type_block.nodes %}
{% include "netbox_nsm/inc/addr_tree_node.html" with node=node depth=0 prefix=section.field_slug show_copy=True forloop_counter=forloop.counter %}
{% endfor %}