- if object.content? - tag :div, object.merge_html_attributes(:class => " dmessage") do = tag :div, object.content, :class => ((object.type || 'dinfo') + " d#{object.type}")