Sha256: 96649c2707f8f75e05548f5f872f1cfa258f0b40e39dd1861775ad9bf95fd210

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin_trumbowyg-0.2.4 lib/formtastic/inputs/trumbowyg_input.rb