Sha256: d9500c3a0697e99bb5acef182fb0db360bd790a5a360102bdf0cdda7c80c4cb0
Contents?: true
Size: 851 Bytes
Versions: 55
Compression:
Stored size: 851 Bytes
Contents
%h2= Cmor::Cms::NavigationItem.model_name.human(count: :other) = collection_table(collection: resource.navigation_items, table_html: "table #{resource_class.name.underscore.pluralize.gsub('/', '-')} table-xs") do |table| = table.awesome_nested_set_actions scope: ->(navigation_item) { navigation_item.root.navigation.to_param } = table.column :name do |navigation_item| - capture_haml do %span{ class: "indent indent-chars-#{navigation_item.depth * 3}"}= navigation_item.name = table.column :url = table.column :cmor_cms_page do |navigation_item| - link_to navigation_item.page.title, page_path(navigation_item.page) if navigation_item.page.present? = table.timestamps = render partial: 'administrador/resources_controller/base/index_table_actions', locals: { table: table, available_rest_actions: [:show, :edit, :destroy] }
Version data entries
55 entries across 55 versions & 1 rubygems