instance method
rich_textarea
Ruby on Rails 8.0.4
Since v8.0.4Available in: v8.0.4 v8.1.2
Signature
rich_textarea(method, options = {})
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.
Parameters
-
methodreq -
optionsopt = {}
Source
# File actiontext/app/helpers/action_text/tag_helper.rb, line 101
def rich_textarea(method, options = {})
@template.rich_textarea(@object_name, method, objectify_options(options))
end
Defined in actiontext/app/helpers/action_text/tag_helper.rb line 101
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::FormBuilder