What about extracting the `<div>` and everything inside it to a `_post` partial? Then you can just do `render @posts`