hello all, if i have a block of haml code and i want to reuse it again and again. how can i store it in a variable then store it anywhere in my code !!
for example: ============================================== .box .bx_title .img_n_txt %h2 %img{:scr=>"assets/images/img.png"} Title text here .box_btn %a{:title=>"hello",:href=>"#"}< %span<> %img{:scr=>"assets/images/btn_img.png"} Go to box content .bx_content %img{:scr=>"assets/images/bx_content_img.png"} ============================================== please advice thanks -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.