magiclabs/alchemy_cms — pull request #307 by hmans (2012-11-20 09:41:03+00:00)
Title: Adds #element_preview_code_attributes in preparation for Slim and Haml support

* #element_preview_code_attributes returns the preview mode attributes as a hash
* #element_preview_code was refactored to use above method and render the attributes as a string