Search for the Scaffolding macros.

Create a Scaffolding dynamic table