- Installation
- General Configuration
- Customize The Resource
- Customizing the Index Page
- Customizing the CSV format
- Customizing the Form
- Customizing the Show Screen
- Sidebar Sections
- Custom Controller Actions
- Collection Actions
- Member Actions
- Controller Action HTTP Verb
- Rendering in Custom Actions
- Modify the Controller
- Custom Pages
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