Sha256: af79a34be5e087a7368ec30739394bebbba8822f56b768ca19eb2f158f7d605c
Contents?: true
Size: 519 Bytes
Versions: 3
Compression:
Stored size: 519 Bytes
Contents
--- layout: default parent: Customizing the Index Page nav_order: 2 title: Index as a Block redirect_from: /docs/3-index-pages/index-as-block.html --- # 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. ```ruby index as: :block do |product| div for: product do resource_selection_cell product h2 auto_link product.title div simple_format product.description end end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-rails-1.7.2 | docs/3-index-pages/index-as-block.md |
activeadmin-rails-1.7.1 | docs/3-index-pages/index-as-block.md |
activeadmin-rails-1.7.0 | docs/3-index-pages/index-as-block.md |