Class: Koi::TableComponent

Inherits:
Katalyst::TableComponent
  • Object
show all
Includes:
Koi::Tables::Cells
Defined in:
app/components/koi/table_component.rb

Direct Known Subclasses

Koi::Tables::TableComponent

Instance Method Summary collapse

Methods included from Koi::Tables::Cells

#attachment, #link

Instance Method Details

#output_postambleObject



11
12
13
# File 'app/components/koi/table_component.rb', line 11

def output_postamble
  super + "</div>".html_safe
end

#output_preambleObject



7
8
9
# File 'app/components/koi/table_component.rb', line 7

def output_preamble
  '<div class="table-container">'.html_safe + super
end