Sha256: b5949c5000449ea0c5eda82f81c383e1092221a1565d057cd4b4d7fc576a49ad

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

class EffectivePageSectionsDatatable < Effective::Datatable

  datatable do
    order :name, :asc
    length :all

    col :id, visible: false
    col :updated_at, visible: false

    col :name
    col :hint

    col :title
    col :rich_text_body

    col :files

    col :link_label, visible: false
    col :link_url, visible: false
    col :caption, visible: false

    actions_col
  end

  collection do
    Effective::PageSection.deep.all
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_pages-3.3.2 app/datatables/effective_page_sections_datatable.rb
effective_pages-3.3.1 app/datatables/effective_page_sections_datatable.rb
effective_pages-3.3.0 app/datatables/effective_page_sections_datatable.rb