2021-07-16 09:15:19 -04:00
{% extends 'ipam/iprange/base.html' %}
{% block extra_controls %}
{% if perms.ipam.add_ipaddress and active_tab == 'ip-addresses' and object.first_available_ip %}
2021-07-20 21:21:03 -04:00
< a href = "{% url 'ipam:ipaddress_add' %}?address={{ object.first_available_ip }}&vrf={{ object.vrf.pk }}&tenant_group={{ object.tenant.group.pk }}&tenant={{ object.tenant.pk }}" class = "btn btn-sm btn-primary m-1" >
2021-07-20 13:46:59 -04:00
< i class = "mdi mdi-plus-thick" aria-hidden = "true" > < / i > Add IP Address
2021-07-16 09:15:19 -04:00
< / a >
{% endif %}
{% endblock %}
{% block content %}
< div class = "row" >
< div class = "col col-md-12" >
{% include 'utilities/obj_table.html' with table=ip_table heading='IP Addresses' bulk_edit_url='ipam:ipaddress_bulk_edit' bulk_delete_url='ipam:ipaddress_bulk_delete' %}
< / div >
< / div >
{% endblock %}