Skip to content

Tag Archives: content_for

laying out sections using content_for

For the new style changes for confabulus, I made use of the content_for capabilities in rails. The currently has two sections, main and sidebar. content_for makes implementing this quite easy. In your layout file (example application.html.erb under app/views/layouts), you use a to place each of the sctions. Here I used to include my sidebar section. […]