Hunter Johnston 3 лет назад
Родитель
Сommit
b1ec703ba9
1 измененных файлов с 1 добавлено и 4 удалено
  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>
         """
     )