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

Fixed up device & device type tab navigation

This commit is contained in:
Jeremy Stretch
2020-10-30 11:41:51 -04:00
parent fcb5e6ae1c
commit f82e2a8d20
3 changed files with 13 additions and 12 deletions

View File

@@ -20,7 +20,7 @@
</button>
{% endif %}
<div class="pull-right">
<a href="{% url table.Meta.model|viewname:"add" %}?device_type={{ devicetype.pk }}&return_url={{ devicetype.get_absolute_url }}" class="btn btn-primary btn-xs">
<a href="{% url table.Meta.model|viewname:"add" %}?device_type={{ devicetype.pk }}&return_url={{ devicetype.get_absolute_url }}%23tab_{{ tab }}" class="btn btn-primary btn-xs">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add {{ title }}
</a>