Hunter Johnston 3 anni fa
parent
commit
b1ec703ba9
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  1. 1 4
      netbox/netbox/tables/tables.py

+ 1 - 4
netbox/netbox/tables/tables.py

@@ -167,10 +167,7 @@ class NetBoxTable(BaseTable):
     )
     actions = columns.ActionsColumn(
         extra_buttons="""
-        <a class="btn btn-sm btn-warning" href="{{ record.get_absolute_url }}edit/" type="button">
-        <i class="mdi mdi-pencil">
-        </i>
-        </a>
+        <a class="btn btn-sm btn-warning" href="{{ record.get_absolute_url }}edit/" type="button"><i class="mdi mdi-pencil"></i></a>
         """
     )