Sha256: 8a0b31ca1e0dd01e905ce7f43e3902c6cd523405c8d6956fb22f9c37fbb9a7cb
Contents?: true
Size: 862 Bytes
Versions: 6
Compression:
Stored size: 862 Bytes
Contents
ActiveAdmin.register Ecm::Cms::ContentBox do # Menu menu :parent => Proc.new { I18n.t('ecm.cms.active_admin.menu') }.call index do selectable_column column :name column :created_at column :updated_at default_actions end show do panel Ecm::Cms::ContentBox.human_attribute_name(:ecm_cms_page_content_blocks) do table_for ecm_cms_content_box.ecm_cms_page_content_blocks, :i18n => Ecm::Cms::Page::ContentBlock do |content_block| column :ecm_cms_page column :body column :created_at column :updated_at end end end sidebar Ecm::Cms::ContentBox.human_attribute_name(:details), :only => :show do attributes_table_for ecm_cms_content_box do row :name row :created_at row :updated_at row :ecm_cms_page_content_blocks_count end end # sidebar end
Version data entries
6 entries across 6 versions & 1 rubygems