magiclabs/alchemy_cms — pull request #312 by hmans (2012-11-21 10:10:48+00:00)
Title: By default, include 'element' css class in element wrapper tags.

This is so we can have element wrapper DOM elements (WTF, we need a better nomenclature) that use semantic CSS classes, simple_form style.

Consider an element named 'teaser'; using the new `element_view_for` helper, the generated wrapping DOM element will now have its CSS classes set to `element teaser`, allowing the developer to style it using `.element.teaser` instead of just `.teaser`, minimizing potential namespace conflicts.

We've previously talked about this, and your side of the argument was to not force semantics on the developer. However, please consider that this change (just like anything else involving the new block level helpers) will only affect new Alchemy projects, and even then the helpers allow you to change the defaults at any time (besides being completely optional, anyway).