I’m thinking that I want three levels of layouts: one level for the
application, one level for each controller, and a third for each action.
The top (application) would define the overall page with the header,
side panels, maybe tabs. The second would define these areas further
like what tabs. And the third would fill in the detailed content.
Rails has two of these with layout and templates by default.
Given that Rails has only two levels, is this really what I want and I’m
just confused thinking I want a third level? It just seems like most of
each of the controller’s layouts will be a lot of duplication.
If not, and a third level is a good idea, are there any suggestions of
how to do it in a “Rails” way?
Thank you for your time,