Sha256: fd87876d6d2833dfaafe338ded042b3f9a3a35742594a6f38098d7cdb38b132d

Contents?: true

Size: 444 Bytes

Versions: 62

Compression:

Stored size: 444 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)
      Inputs::EffectiveCkeditorTextArea::Input.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

62 entries across 62 versions & 1 rubygems

Version Path
effective_form_inputs-1.3.0 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.9 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.8 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.7 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.6 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.5 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.4 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.3 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.2 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.1 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.2.0 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.15 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.14 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.13 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.12 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.11 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.10 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.9 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.8 app/models/inputs/effective_ckeditor_text_area_input.rb
effective_form_inputs-1.1.7 app/models/inputs/effective_ckeditor_text_area_input.rb