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