Sha256: 3d092dabb5ee1c2ad27a4db6ce51a18a7a8986a420abc34e0c8e12156457f4b7

Contents?: true

Size: 294 Bytes

Versions: 7

Compression:

Stored size: 294 Bytes

Contents

module Formtastic
  module Inputs
    class TrumbowygInput < Formtastic::Inputs::TextInput
      def to_html
        input_wrapping do
          label_html <<
          builder.text_area( method, input_html_options.merge( class: 'trumbowyg-textarea' ) )
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activeadmin_trumbowyg-0.2.0 lib/formtastic/inputs/trumbowyg_input.rb
activeadmin_trumbowyg-0.1.8 lib/formtastic/inputs/trumbowyg_input.rb
activeadmin_trumbowyg-0.1.7 lib/formtastic/inputs/trumbowyg_input.rb
activeadmin_trumbowyg-0.1.6 lib/formtastic/inputs/trumbowyg_input.rb
activeadmin_trumbowyg-0.1.3 lib/formtastic/inputs/trumbowyg_input.rb
activeadmin_trumbowyg-0.1.1 lib/formtastic/inputs/trumbowyg_input.rb
activeadmin_trumbowyg-0.1.0 lib/formtastic/inputs/trumbowyg_input.rb