Sha256: 61cf69d6e69dc1868d2016e535a72c638ce27104337f742fe7eec2e41a456acf
Contents?: true
Size: 758 Bytes
Versions: 17
Compression:
Stored size: 758 Bytes
Contents
= table.awesome_nested_set_actions :parent, scope: ->(navigation_item) { navigation_item.root.navigation.to_param } = table.association(:navigation, sort: { column_name: 'cmor_cms_navigations.name'}, link_to: ->(navigation_item) { navigation_path(navigation_item.navigation) }, label_method: :human) = table.column(:name, sort: true) do |navigation_item| - capture_haml do %span{ class: "indent indent-chars-#{navigation_item.depth * 3}"}= navigation_item.name = table.column :url, sort: true = table.column(:page, sort: { column_name: 'cmor_cms_pages.title' }) do |navigation_item| - link_to navigation_item.page.title, page_path(navigation_item.page) if navigation_item.page.present? = table.timestamps(sort: true) = table.acts_as_published_actions
Version data entries
17 entries across 17 versions & 1 rubygems