Class: Alchemy::Ingredients::HtmlEditor

Inherits:
BaseEditor
  • Object
show all
Defined in:
app/components/alchemy/ingredients/html_editor.rb

Instance Attribute Summary

Attributes inherited from BaseEditor

#html_options, #ingredient

Instance Method Summary collapse

Methods inherited from BaseEditor

#call, #form_field_id, #form_field_name, #initialize

Constructor Details

This class inherits a constructor from Alchemy::Ingredients::BaseEditor

Instance Method Details

#input_fieldObject



6
7
8
# File 'app/components/alchemy/ingredients/html_editor.rb', line 6

def input_field
  text_area_tag(form_field_name, value, id: form_field_id, readonly: !editable?)
end