app/decorators/alchemy/element_editor.rb
# CSS classes for the element editor partial.
CSS classes for the element editor partial.
CSS classes for the element editor partial .
def css_classes
      [
        'element-editor',
        content_definitions.present? ? 'with-contents' : 'without-contents',
        nestable_elements.any? ? 'nestable' : 'not-nestable',
        taggable? ? 'taggable' : 'not-taggable',
        folded ? 'folded' : 'expanded',
        compact? ? 'compact' : nil,
        fixed? ? 'is-fixed' : 'not-fixed'
      ].join(' ')
    end
def css_classes [ 'element-editor' , content_definitions . present? ? 'with-contents' : 'without-contents' , nestable_elements . any? ? 'nestable' : 'not-nestable' , taggable? ? 'taggable' : 'not-taggable' , folded ? 'folded' : 'expanded' , compact? ? 'compact' : nil , fixed? ? 'is-fixed' : 'not-fixed' ] . join ( ' ' ) end
CSS classes for the element editor partial.
CSS classes for the element editor partial .