{% if perms.ipam.add_prefix and active_tab == 'prefixes' and first_available_prefix %}
Add Child Prefix
{% endif %}
{% if perms.ipam.add_ipaddress and active_tab == 'ip-addresses' and first_available_ip %}
Add an IP Address
{% endif %}
{% if perms.ipam.change_prefix %}
Edit this prefix
{% endif %}
{% if perms.ipam.delete_prefix %}
Delete this prefix
{% endif %}