Class: Trestle::Table::ActionsColumn::Renderer
Instance Method Summary
collapse
#data, #initialize, #render, #render?
Instance Method Details
#classes ⇒ Object
69
70
71
|
# File 'lib/trestle/table/actions_column.rb', line 69
def classes
super + ["table-actions"]
end
|
#content(instance) ⇒ Object
73
74
75
|
# File 'lib/trestle/table/actions_column.rb', line 73
def content(instance)
@template.render_toolbar(@column.toolbar, instance, @table.admin)
end
|
65
66
67
|
# File 'lib/trestle/table/actions_column.rb', line 65
def
options[:header]
end
|