mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-25 02:08:58 +02:00
Closes #33: Add ability to clone objects (pre-populate form fields)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% extends '_base.html' %}
|
||||
{% load buttons %}
|
||||
{% load static %}
|
||||
{% load custom_links %}
|
||||
{% load helpers %}
|
||||
@@ -33,6 +34,9 @@
|
||||
Graphs
|
||||
</button>
|
||||
{% endif %}
|
||||
{% if perms.circuits.add_provider %}
|
||||
{% clone_button 'circuits:provider_add' provider %}
|
||||
{% endif %}
|
||||
{% if perms.circuits.change_provider %}
|
||||
<a href="{% url 'circuits:provider_edit' slug=provider.slug %}" class="btn btn-warning">
|
||||
<span class="fa fa-pencil" aria-hidden="true"></span>
|
||||
|
||||
Reference in New Issue
Block a user