Sha256: a8dce5777fa146e550ad3b94a4b91ac50d7e82cf832e8ec0a87113f0597b4a4d

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

# = simple_form_for @thing do |f|
#   = f.input :body_content, :as => :effective_ckeditor_text_area

if defined?(SimpleForm)

  class EffectiveCkeditorTextAreaInput < SimpleForm::Inputs::StringInput
    def input(wrapper_options = nil)
      Effective::FormBuilderInputs::EffectiveCkeditorTextArea.new(object, object_name, template, attribute_name, input_options, (merge_wrapper_options(input_html_options, wrapper_options) || {})).to_html
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_form_inputs-1.5.0 lib/effective_form_inputs/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.4.1 lib/effective_form_inputs/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.4.0 lib/effective_form_inputs/inputs/effective_ckeditor_text_area_input.rb