Parcourir la source

Corrected URL name

Jeremy Stretch il y a 9 ans
Parent
commit
da3a596d3f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>