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