{% extends 'dcim/device/components_base.html' %} {% load helpers %} {% load i18n %} {% block table_controls %} {% include 'dcim/device/inc/interface_table_controls.html' with table_modal="DeviceInterfaceTable_config" %} {% endblock table_controls %} {% block bulk_delete_controls %} {{ block.super }} {% with bulk_disconnect_view=child_model|validated_viewname:"bulk_disconnect" %} {% if 'bulk_disconnect' in actions and bulk_disconnect_view %} {% endif %} {% endwith %} {% endblock bulk_delete_controls %} {% block bulk_extra_controls %} {{ block.super }} {% if perms.dcim.add_interface %} {% trans "Add Interfaces" %} {% endif %} {% endblock bulk_extra_controls %}