search for: lhs_block

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

Did you mean: is_block
2007 Nov 10
3
Wrapper Helper Help Please
...ageHeader"> ''Header Here'' </div> <div class="PageContent"> ''Content Here'' </div> </div> </div> I use this ''wrapper'' a lot, so I thought I''d put it into a helper, thus: def lhs_block(title) content_tag(:div, content_tag(:div, content_tag(:div,title,:class=>''PageHeader'') + content_tag(:div,yield,:class=>''PageContent''), :class=>''Page''), :id=>''LHS'') end This w...