Sha256: 0f2dd0df9cc72fcc3239dd1c242808fb29df50b008d0f342f050f48f21320d80

Contents?: true

Size: 431 Bytes

Versions: 46

Compression:

Stored size: 431 Bytes

Contents

---
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

46 entries across 46 versions & 4 rubygems

Version Path
activeadmin-2.13.1 docs/3-index-pages/index-as-block.md
activeadmin-2.13.0 docs/3-index-pages/index-as-block.md
activeadmin-2.12.0 docs/3-index-pages/index-as-block.md
activeadmin-2.11.2 docs/3-index-pages/index-as-block.md
activeadmin-rb-1.6.0 docs/3-index-pages/index-as-block.md
activeadmin-2.11.1 docs/3-index-pages/index-as-block.md
activeadmin-2.11.0 docs/3-index-pages/index-as-block.md
activeadmin-2.10.1 docs/3-index-pages/index-as-block.md
activeadmin-2.10.0 docs/3-index-pages/index-as-block.md
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/docs/3-index-pages/index-as-block.md
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/docs/3-index-pages/index-as-block.md
activeadmin-rb-1.5.2 docs/3-index-pages/index-as-block.md
activeadmin-2.9.0 docs/3-index-pages/index-as-block.md
activeadmin-2.8.1 docs/3-index-pages/index-as-block.md
activeadmin-2.8.0 docs/3-index-pages/index-as-block.md
activeadmin-rb-1.5.1 docs/3-index-pages/index-as-block.md
activeadmin-2.7.0 docs/3-index-pages/index-as-block.md
activeadmin-2.6.1 docs/3-index-pages/index-as-block.md
activeadmin-2.6.0 docs/3-index-pages/index-as-block.md
activeadmin-2.5.0 docs/3-index-pages/index-as-block.md