Eric Czarny wrote:> I have a layout for an administrative panel for my blogging software
> that I want to break down into several sections. There is a portion of
> a column that I want to store some simple information, like displaying
> the currently logged in author, a simple summary of recent activity, an
> area to display system messages and the main content of the page.
> Unfortunately I can''t find anything that allows me to break up
layouts
> into sections like this, any ideas?
Check out render :partial.
The quickest way to do that is to generate a scaffold for a certain
controller/model (by doing a script/generate scaffold ModelName, for
example), and see how the form-based layouts are handled. In specific,
look at the _form.rhtml file that gets dropped in the layouts directory.
--
Alex