I have some variables in rails that contain some divs, for example:
@layout_1 = " .box_1 .column_4 <br> .gutter<br> .column_4<br> .gutter<br> .column_4<br> .gutter<br> .column_4<br>"
This comes from the database, and the idea is to replace the layouts on demand, but how can I output the variable ( @layout_1 ) as HAML inside the HAML file?
If I used regular html .html_safe , I would use <%=raw or .html_safe
source share