Class: Tags::ActionText
- Inherits:
-
Base
- Object
- Base
- Tags::ActionText
- Includes:
- Placeholderable
- Defined in:
- app/helpers/action_text/tag_helper.rb
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
49 50 51 52 53 54 |
# File 'app/helpers/action_text/tag_helper.rb', line 49 def render = @options.stringify_keys add_default_name_and_id() ["input"] ||= dom_id(object, [["id"], :trix_input].compact.join("_")) if object @template_object.rich_text_area_tag(.delete("name"), .fetch("value") { value }, .except("value")) end |