Răsfoiți Sursa

Remove errant buttons block from cable view

jeremystretch 4 ani în urmă
părinte
comite
63f4d81bc0
1 a modificat fișierele cu 0 adăugiri și 14 ștergeri
  1. 0 14
      netbox/templates/dcim/cable.html

+ 0 - 14
netbox/templates/dcim/cable.html

@@ -4,20 +4,6 @@
 {% load perms %}
 {% load plugins %}
 
-{% block controls %}
-{% plugin_buttons object %}
-<div class="container mb-2 mx-0">
-  <div class="d-flex flex-wrap justify-content-end">
-  {% if request.user|can_change:object %}
-    {% edit_button object %}
-  {% endif %}
-  {% if request.user|can_delete:object %}
-    {% delete_button object %}
-  {% endif %}
-  </div>
-</div>
-{% endblock %}
-
 {% block content %}
     <div class="row">
         <div class="col col-md-6">