Sha256: 0498f7e67d0ab2e32b5d5abde99d605b9542fa0c976978b009c9de4a90cac3ef

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

= nested_pages do |page, subpages|
  hr
  h1= page.identifier
  - for part in page.parts
    .indent
      h3= part.identifier
      - for field in part.fields
        .indent= field.identifier

  = content_tag(:div, subpages, class: "indent") if subpages.present?

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cardboard_cms-0.3.1 app/views/cardboard/super_user/index.html.slim
cardboard_cms-0.2.2 app/views/cardboard/super_user/index.html.slim
cardboard_cms-0.2.1 app/views/cardboard/super_user/index.html.slim