Przeglądaj źródła

Implemented feature #9525

Hunter Johnston 3 lat temu
rodzic
commit
b1ec703ba9
1 zmienionych plików z 1 dodań i 4 usunięć
  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>
         """
     )