search for: col_left

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

2007 Jun 21
1
render :partial => :url - is it possible?
...or. Several parts of my site, such as sidebar components, are self-contained, modularized and re-used in several parts of the site. The sidebar is part of the layout (I''m using the nested_layout plugin), rather than the page view. # /app/layouts/layout_3_col.rhtml <div class=''col_left col''><div class=''inner''> <%= render :partial => @col_left_partial || ''col_left'' %> </div></div> However this means I need to generate the data for the sidebar components within each model, and not more-cleanly in a separat...