Class: EacRailsUtils::DataTableHelper::DataTable
- Inherits:
-
Object
- Object
- EacRailsUtils::DataTableHelper::DataTable
- Defined in:
- app/helpers/eac_rails_utils/data_table_helper/data_table.rb,
app/helpers/eac_rails_utils/data_table_helper/data_table/value_cell.rb
Defined Under Namespace
Classes: ValueCell
Constant Summary collapse
- CONTAINER_CSS_CLASS =
%w[table-responsive].freeze
- TABLE_CSS_CLASSES =
%w[table table-striped].freeze
Instance Method Summary collapse
Instance Method Details
#output ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/helpers/eac_rails_utils/data_table_helper/data_table.rb', line 13 def output view.content_tag(:div, class: CONTAINER_CSS_CLASS) do view.content_tag(:table, id: id, class: TABLE_CSS_CLASSES) do head << body end end << script end |