fix add aggregate button

This commit is contained in:
Arthur
2026-03-18 13:51:04 -07:00
parent ddb8ce90eb
commit 0752fd2c63
+9
View File
@@ -1 +1,10 @@
{% extends 'generic/object.html' %}
{% load i18n %}
{% block extra_controls %}
{% if perms.ipam.add_aggregate %}
<a href="{% url 'ipam:aggregate_add' %}?rir={{ object.pk }}" class="btn btn-primary">
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> {% trans "Add Aggregate" %}
</a>
{% endif %}
{% endblock extra_controls %}