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

Fixes #3571: Prevent erroneous redirects when editing tags

This commit is contained in:
Jeremy Stretch
2019-10-07 14:27:02 -04:00
parent 9198d6924e
commit ed785098a6
2 changed files with 2 additions and 1 deletions

View File

@@ -24,7 +24,7 @@
</div>
<div class="pull-right">
{% if perms.taggit.change_tag %}
<a href="{% url 'extras:tag_edit' slug=tag.slug %}?return_url={% url 'extras:tag' slug=tag.slug %}" class="btn btn-warning">
<a href="{% url 'extras:tag_edit' slug=tag.slug %}" class="btn btn-warning">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
Edit this tag
</a>