- raise "you should provide unique id for b.more element (to allow it remember it's state in ajax requests')!" unless object.id? - if object.content? - tag :div, object.merge_html_attributes(:class => " more _more") do %a{:href => '#', :class => '_button'}= object.name ._content._hidden= object.content