search for: content_for_left_div

Displaying 1 result from an estimated 1 matches for "content_for_left_div".

2006 Apr 17
2
nesting layouts?
...ildly but the overall ''feeling'' should be the same. Now I have one template, called ''index.rhtml'' which checks in a long list of if-then-else what to render. This is of course really really ugly. I would rather have some this like @content_for_layout but now @content_for_left_div and @content_for_right_div. Is this possible? Moreover, if it''s not, do partials have the same access to global variables as the parent template? That would also help a lot in cleaning up. Thanks in advance. Harm -- Posted via http://www.ruby-forum.com/.