1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 18:38:23 +02:00

non dynamic search for button

This commit is contained in:
Pierre-antoine Comby
2020-03-23 20:21:25 +01:00
parent 1ce7dc0118
commit 7cd8a37aec
4 changed files with 38 additions and 5 deletions

View File

@ -82,6 +82,11 @@ class ButtonTable(tables.Table):
'class':
'table table condensed table-striped table-hover'
}
row_attrs = {
'class': 'table-row',
'data-href': lambda record: record.pk
}
model = TransactionTemplate
def render_amount(self, value):