Skip to content
Snippets Groups Projects
Commit 271fab3b authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

use small btn in table

parent 04b39f09
No related branches found
No related tags found
1 merge request!70Finitions sur l'interface club
...@@ -59,7 +59,7 @@ class HistoryTable(tables.Table): ...@@ -59,7 +59,7 @@ class HistoryTable(tables.Table):
# function delete_button(id) provided in template file # function delete_button(id) provided in template file
DELETE_TEMPLATE = """ DELETE_TEMPLATE = """
<button id="{{ record.pk }}" class="btn btn-danger" onclick="delete_button(this.id)"> {{ delete_trans }}</button> <button id="{{ record.pk }}" class="btn btn-danger btn-sm" onclick="delete_button(this.id)"> {{ delete_trans }}</button>
""" """
...@@ -103,7 +103,7 @@ class ButtonTable(tables.Table): ...@@ -103,7 +103,7 @@ class ButtonTable(tables.Table):
edit = tables.LinkColumn('note:template_update', edit = tables.LinkColumn('note:template_update',
args=[A('pk')], args=[A('pk')],
attrs={'td': {'class': 'col-sm-1'}, attrs={'td': {'class': 'col-sm-1'},
'a': {'class': 'btn btn-primary'}}, 'a': {'class': 'btn btn-sm btn-primary'}},
text=_('edit'), text=_('edit'),
accessor='pk') accessor='pk')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment