search for: content_for_view2

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

Did you mean: content_for_view1
2006 Mar 17
2
How to let the layout be more OO?
...me at different <div></div> units. I hope there exists a kind of way that: <%= if condition1 %> <div id=''condition1''> <%= @content_for_view1 %> </div> <%= if condition2 %> <div id=''condition2''> <%= @content_for_view2 %> </div> .... How to reach such an aim in rails? I am a newbie. very grateful! -- Posted via http://www.ruby-forum.com/.