diff --git a/netbox/templates/ipam/prefix/base.html b/netbox/templates/ipam/prefix/base.html
index 4ebc0a64d..f1d5cbc99 100644
--- a/netbox/templates/ipam/prefix/base.html
+++ b/netbox/templates/ipam/prefix/base.html
@@ -11,16 +11,6 @@
{{ object }}
{% endblock %}
-{% block buttons %}
- {% if perms.ipam.add_ipaddress and active_tab == 'ip-addresses' and first_available_ip %}
-
-
- Add an IP Address
-
- {% endif %}
- {{ block.super }}
-{% endblock %}
-
{% block tabs %}
-
diff --git a/netbox/templates/ipam/prefix/ip_addresses.html b/netbox/templates/ipam/prefix/ip_addresses.html
index 43cf6bc9d..5a944150d 100644
--- a/netbox/templates/ipam/prefix/ip_addresses.html
+++ b/netbox/templates/ipam/prefix/ip_addresses.html
@@ -1,5 +1,15 @@
{% extends 'ipam/prefix/base.html' %}
+{% block buttons %}
+ {% if perms.ipam.add_ipaddress and first_available_ip %}
+
+
+ Add an IP Address
+
+ {% endif %}
+ {{ block.super }}
+{% endblock %}
+
{% block content %}