mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-08-05 14:49:22 +02:00
Better club search bar
This commit is contained in:
@@ -24,7 +24,8 @@ class ClubTable(tables.Table):
|
||||
}
|
||||
model = Club
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
fields = ('id', 'name', 'email')
|
||||
fields = ('name', 'email',)
|
||||
order_by = ('name',)
|
||||
row_attrs = {
|
||||
'class': 'table-row',
|
||||
'id': lambda record: "row-" + str(record.pk),
|
||||
|
Reference in New Issue
Block a user