Support for max_length and max_depth standardised for prefix_list, aggreate/prefixes and prefix/prefixes

This commit is contained in:
Matthew Papaleo
2026-01-16 09:03:48 +11:00
committed by Jeremy Stretch
parent f24376cfab
commit 339ad455e4
5 changed files with 46 additions and 34 deletions

View File

@@ -3,6 +3,8 @@
{% block extra_controls %}
{% include 'ipam/inc/toggle_available.html' %}
{% include 'ipam/inc/max_depth.html' %}
{% include 'ipam/inc/max_length.html' %}
{% if perms.ipam.add_prefix and first_available_prefix %}
<a href="{% url 'ipam:prefix_add' %}?prefix={{ first_available_prefix }}" class="btn btn-primary">
<i class="mdi mdi-plus-thick" aria-hidden="true"></i> {% trans "Add Prefix" %}