Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- app/helpers/action_text/tag_helper.rb
Instance Method Summary collapse
-
#rich_textarea(method, options = {}, &block) ⇒ Object
(also: #rich_text_area)
Wraps ActionView::Helpers::FormHelper#rich_textarea for form builders:.
Instance Method Details
#rich_textarea(method, options = {}, &block) ⇒ Object Also known as: rich_text_area
Wraps ActionView::Helpers::FormHelper#rich_textarea for form builders:
<%= form_with model: @message do |f| %>
<%= f.rich_textarea :content %>
<% end %>
Please refer to the documentation of the base helper for details.
114 115 116 |
# File 'app/helpers/action_text/tag_helper.rb', line 114 def rich_textarea(method, = {}, &block) @template.rich_textarea(@object_name, method, (), &block) end |