1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Converted module_add to ObjectEditView

This commit is contained in:
Jeremy Stretch
2016-12-16 12:12:42 -05:00
parent b451ece057
commit b7fe220860
3 changed files with 8 additions and 30 deletions

View File

@@ -127,7 +127,7 @@
</table>
</div>
{% if perms.dcim.add_module %}
<a href="{% url 'dcim:module_add' pk=device.pk %}" class="btn btn-success">
<a href="{% url 'dcim:module_add' device=device.pk %}" class="btn btn-success">
<span class="fa fa-plus" aria-hidden="true"></span>
Add a Module
</a>