Method: Alchemy::ElementEditor#editable?

Defined in:
app/decorators/alchemy/element_editor.rb

#editable?Boolean

Tells us, if we should show the element footer and form inputs.

Returns:

  • (Boolean)


67
68
69
# File 'app/decorators/alchemy/element_editor.rb', line 67

def editable?
  ingredient_definitions.any? || taggable?
end