mirror of https://gitlab.crans.org/bde/nk20
Fix hanging indent in apps/note/tables.py
This commit is contained in:
parent
f0089d0bc5
commit
40b826a375
|
@ -153,16 +153,20 @@ class ButtonTable(tables.Table):
|
||||||
model = TransactionTemplate
|
model = TransactionTemplate
|
||||||
exclude = ('id',)
|
exclude = ('id',)
|
||||||
|
|
||||||
edit = tables.LinkColumn('note:template_update',
|
edit = tables.LinkColumn(
|
||||||
args=[A('pk')],
|
'note:template_update',
|
||||||
attrs={'td': {'class': 'col-sm-1'},
|
args=[A('pk')],
|
||||||
'a': {
|
attrs={
|
||||||
'class': 'btn btn-sm btn-primary',
|
'td': {'class': 'col-sm-1'},
|
||||||
'data-turbolinks': 'false',
|
'a': {
|
||||||
}},
|
'class': 'btn btn-sm btn-primary',
|
||||||
text=_('edit'),
|
'data-turbolinks': 'false',
|
||||||
accessor='pk',
|
}
|
||||||
verbose_name=_("Edit"),)
|
},
|
||||||
|
text=_('edit'),
|
||||||
|
accessor='pk',
|
||||||
|
verbose_name=_("Edit"),
|
||||||
|
)
|
||||||
|
|
||||||
delete_col = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
|
delete_col = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
|
||||||
extra_context={"delete_trans": _('delete')},
|
extra_context={"delete_trans": _('delete')},
|
||||||
|
|
Loading…
Reference in New Issue