module BootstrapForm::Inputs::RichTextArea
Public Instance Methods
rich_text_area_with_bootstrap(name, options={})
click to toggle source
# File lib/bootstrap_form/inputs/rich_text_area.rb, line 10 def rich_text_area_with_bootstrap(name, options={}) form_group_builder(name, options) do prepend_and_append_input(name, options) do options[:class] = ["trix-content", options[:class]].compact.join(" ") rich_text_area_without_bootstrap(name, options) end end end