|
|
@@ -603,7 +603,7 @@
|
|
|
<button type="submit" name="_rename" formaction="{% url 'dcim:interface_bulk_rename' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Rename
|
|
|
</button>
|
|
|
- <button type="submit" name="_edit" formaction="{% url 'dcim:interface_bulk_edit' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
+ <button type="submit" name="_edit" formaction="{% url 'dcim:interface_bulk_edit' %}?device={{ device.pk }}&return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
|
|
|
</button>
|
|
|
{% endif %}
|
|
|
@@ -666,7 +666,7 @@
|
|
|
<button type="submit" name="_rename" formaction="{% url 'dcim:consoleserverport_bulk_rename' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Rename
|
|
|
</button>
|
|
|
- <button type="submit" name="_edit" formaction="{% url 'dcim:consoleserverport_bulk_edit' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
+ <button type="submit" name="_edit" formaction="{% url 'dcim:consoleserverport_bulk_edit' %}?device={{ device.pk }}&return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
|
|
|
</button>
|
|
|
<button type="submit" name="_disconnect" formaction="{% url 'dcim:consoleserverport_bulk_disconnect' %}?return_url={{ device.get_absolute_url }}" class="btn btn-danger btn-xs">
|
|
|
@@ -728,7 +728,7 @@
|
|
|
<button type="submit" name="_rename" formaction="{% url 'dcim:poweroutlet_bulk_rename' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Rename
|
|
|
</button>
|
|
|
- <button type="submit" name="_edit" formaction="{% url 'dcim:poweroutlet_bulk_edit' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
+ <button type="submit" name="_edit" formaction="{% url 'dcim:poweroutlet_bulk_edit' %}?device={{ device.pk }}&return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
|
|
|
</button>
|
|
|
<button type="submit" name="_disconnect" formaction="{% url 'dcim:poweroutlet_bulk_disconnect' %}?return_url={{ device.get_absolute_url }}" class="btn btn-danger btn-xs">
|
|
|
@@ -789,7 +789,7 @@
|
|
|
<button type="submit" name="_rename" formaction="{% url 'dcim:frontport_bulk_rename' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Rename
|
|
|
</button>
|
|
|
- <button type="submit" name="_edit" formaction="{% url 'dcim:frontport_bulk_edit' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
+ <button type="submit" name="_edit" formaction="{% url 'dcim:frontport_bulk_edit' %}?device={{ device.pk }}&return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
|
|
|
</button>
|
|
|
<button type="submit" name="_disconnect" formaction="{% url 'dcim:frontport_bulk_disconnect' %}?return_url={{ device.get_absolute_url }}" class="btn btn-danger btn-xs">
|
|
|
@@ -847,7 +847,7 @@
|
|
|
<button type="submit" name="_rename" formaction="{% url 'dcim:rearport_bulk_rename' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Rename
|
|
|
</button>
|
|
|
- <button type="submit" name="_edit" formaction="{% url 'dcim:rearport_bulk_edit' %}?return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
+ <button type="submit" name="_edit" formaction="{% url 'dcim:rearport_bulk_edit' %}?device={{ device.pk }}&return_url={{ device.get_absolute_url }}" class="btn btn-warning btn-xs">
|
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
|
|
|
</button>
|
|
|
<button type="submit" name="_disconnect" formaction="{% url 'dcim:rearport_bulk_disconnect' %}?return_url={{ device.get_absolute_url }}" class="btn btn-danger btn-xs">
|