diff --git a/netbox/ipam/tables/template_code.py b/netbox/ipam/tables/template_code.py index 14b73b28d..250873c38 100644 --- a/netbox/ipam/tables/template_code.py +++ b/netbox/ipam/tables/template_code.py @@ -6,7 +6,7 @@ PREFIX_LINK = """ {% if record.pk %} {{ record.prefix }} {% else %} - {{ record.prefix }} + {{ record.prefix }} {% endif %} """ diff --git a/netbox/templates/ipam/prefix/prefixes.html b/netbox/templates/ipam/prefix/prefixes.html index 4261c3c36..cf3891bf9 100644 --- a/netbox/templates/ipam/prefix/prefixes.html +++ b/netbox/templates/ipam/prefix/prefixes.html @@ -6,7 +6,7 @@ {% include 'ipam/inc/max_depth.html' %} {% include 'ipam/inc/max_length.html' %} {% if perms.ipam.add_prefix and first_available_prefix %} - + {% trans "Add Prefix" %} {% endif %}