Implemented feature #9525

This commit is contained in:
Hunter Johnston 2022-06-18 23:05:18 -04:00
parent b2fddb5261
commit 7d0124240c

View File

@ -165,7 +165,14 @@ class NetBoxTable(BaseTable):
linkify=True, linkify=True,
verbose_name='ID' verbose_name='ID'
) )
actions = columns.ActionsColumn() 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>
"""
)
exempt_columns = ('pk', 'actions') exempt_columns = ('pk', 'actions')