From 9ad8065f75c9adf20cf89b5c6da90ff982f3f9dd Mon Sep 17 00:00:00 2001 From: checktheroads Date: Fri, 30 Apr 2021 12:13:43 -0700 Subject: [PATCH] Integrate changes from #6322 (to fix #6321) into feature --- netbox/templates/ipam/prefix/ip_addresses.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/netbox/templates/ipam/prefix/ip_addresses.html b/netbox/templates/ipam/prefix/ip_addresses.html index 43cf6bc9d..8d8f0ea68 100644 --- a/netbox/templates/ipam/prefix/ip_addresses.html +++ b/netbox/templates/ipam/prefix/ip_addresses.html @@ -1,5 +1,14 @@ {% extends 'ipam/prefix/base.html' %} +{% block extra_controls %} + {% if perms.ipam.add_ipaddress and active_tab == 'ip-addresses' and first_available_ip %} + + + Add an IP Address + + {% endif %} +{% endblock %} + {% block content %}