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 = {}) ⇒ Object
(also: #rich_text_area)
Wraps ActionView::Helpers::FormHelper#rich_textarea for form builders:.
Instance Method Details
#rich_textarea(method, options = {}) ⇒ 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.
101 102 103 |
# File 'app/helpers/action_text/tag_helper.rb', line 101 def rich_textarea(method, = {}) @template.rich_textarea(@object_name, method, ()) end |