Sha256: ca88b60387ff8a62b67805ec6454ea61b297c77ff75a3167e8a5a118bb4d0f60

Contents?: true

Size: 302 Bytes

Versions: 10

Compression:

Stored size: 302 Bytes

Contents

module AbAdmin
  module Views
    module Inputs
      class EditorInput < ::SimpleForm::Inputs::TextInput
        def input(wrapper_options=nil)
          input_html_options[:class] = "#{Array(input_html_options[:class]).join(' ')} do_wysihtml5"
          super
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ab_admin-0.11.0 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.10.0 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.9.0 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.8.3 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.8.2 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.8.1 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.8.0 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.7.0 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.6.1 lib/ab_admin/views/inputs/editor_input.rb
ab_admin-0.6.0 lib/ab_admin/views/inputs/editor_input.rb