mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
13 lines
283 B
Python
13 lines
283 B
Python
import django_tables2 as tables
|
|
|
|
from django.utils.safestring import mark_safe
|
|
|
|
|
|
class ToggleColumn(tables.CheckBoxColumn):
|
|
default = ''
|
|
visible = False
|
|
|
|
@property
|
|
def header(self):
|
|
return mark_safe('<input type="checkbox" name="_all" title="Select all" />')
|