Sha256: 14533d7c47960dee40c3d95da12200233aef6b3d8fb0f53223fd16176690794d
Contents?: true
Size: 606 Bytes
Versions: 84
Compression:
Stored size: 606 Bytes
Contents
module Pageflow module Admin class EntriesTab < ViewComponent def build(theming) account = theming.account embedded_index_table(account.entries, blank_slate_text: I18n.t('pageflow.admin.entries.no_members')) do table_for_collection(sortable: true, class: 'entries', i18n: Pageflow::Entry) do column :title, sortable: :title do |entry| link_to(entry.title, admin_entry_path(entry)) end column :created_at column :updated_at end end end end end end
Version data entries
84 entries across 84 versions & 1 rubygems