crappy name -> crappy behavior

This commit is contained in:
Pierre-antoine Comby 2020-03-26 23:04:14 +01:00
parent a00e43bc26
commit 61b6aceb36
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class AliasTable(tables.Table):
show_header = False
name = tables.Column(attrs={'td': {'class': 'text-center'}})
delete_btn = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
delete_col = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
extra_context={"delete_trans": _('delete')},
attrs={'td': {'class': 'col-sm-1'}})
@ -104,7 +104,7 @@ class ButtonTable(tables.Table):
text=_('edit'),
accessor='pk')
delete = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
delete_col = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
extra_context={"delete_trans": _('delete')},
attrs={'td': {'class': 'col-sm-1'}})