Sha256: 91664e3b22ae8eec5b59c3c2551455830ed2a8afd82c1212528dccbb40672f9e

Contents?: true

Size: 431 Bytes

Versions: 7

Compression:

Stored size: 431 Bytes

Contents

<!-- Please don't edit this file. It will be clobbered. -->

# Index as a Block

If you want to fully customize the display of your resources on the index
screen, Index as a Block allows you to render a block of content for each
resource.

    index :as => :block do |product|
      div :for => product do
        h2 auto_link(product.title)
        div do
          simple_format product.description
        end
      end
    end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
activeadmin-0.6.6 docs/3-index-pages/index-as-block.md
activeadmin-0.6.5 docs/3-index-pages/index-as-block.md
activeadmin-0.6.4 docs/3-index-pages/index-as-block.md
activeadmin-0.6.3 docs/3-index-pages/index-as-block.md
activeadmin-0.6.2 docs/3-index-pages/index-as-block.md
activeadmin-0.6.1 docs/3-index-pages/index-as-block.md
aa-rails4-0.6.0 docs/3-index-pages/index-as-block.md