瀏覽代碼

Corrected URL name

Jeremy Stretch 10 年之前
父節點
當前提交
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 %}
 <div class="pull-right">
     {% 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>
             Add a device type
         </a>