Method: ActionView::Helpers::FormBuilder#rich_textarea
- Defined in:
- actiontext/app/helpers/action_text/tag_helper.rb
#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 'actiontext/app/helpers/action_text/tag_helper.rb', line 101 def rich_textarea(method, = {}) @template.rich_textarea(@object_name, method, ()) end |