1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Files
netbox-community-netbox/netbox/utilities/tables.py

13 lines
283 B
Python
Raw Normal View History

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" />')