Sha256: 1403dfba4a9e0803e35e01e674345de7164fa31a1fb80d85bb52ea1150ba7ab4

Contents?: true

Size: 448 Bytes

Versions: 8

Compression:

Stored size: 448 Bytes

Contents

module Inputs
  module EffectiveCkeditorTextArea
    class Input < Effective::FormInput
      delegate :content_tag, :text_area_tag, :to => :@template

      def default_input_js
        {effective_assets: defined?(EffectiveAssets).present? }
      end

      def default_input_html
        {class: 'effective_ckeditor_text_area text'}
      end

      def to_html
        text_area_tag(field_name, value, tag_options)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
effective_form_inputs-0.8.7 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.6 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.5 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.4 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.3 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.2 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.1 app/models/inputs/effective_ckeditor_text_area/input.rb
effective_form_inputs-0.8.0 app/models/inputs/effective_ckeditor_text_area/input.rb