Jeremy Stretch 9 лет назад
Родитель
Сommit
da3a596d3f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/templates/dcim/devicetype_list.html

+ 1 - 1
netbox/templates/dcim/devicetype_list.html

@@ -6,7 +6,7 @@
 {% block content %}
 {% block content %}
 <div class="pull-right">
 <div class="pull-right">
     {% if perms.dcim.add_devicetype %}
     {% if perms.dcim.add_devicetype %}
-        <a href="{% url 'dcim:device_add' %}" class="btn btn-primary">
+        <a href="{% url 'dcim:devicetype_add' %}" class="btn btn-primary">
             <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
             <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
             Add a device type
             Add a device type
         </a>
         </a>