Sha256: 9240ab2f215ee1fa9cde5c48b01554c5be9647e4a1a84414cc66e698deb8d745

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

module FormtasticRebootstrap
  module Inputs
    class FileInput < Formtastic::Inputs::FileInput
      include Base

      def to_html
        bootstrap_wrapping do
          builder.file_field(method, input_html_options)
        end
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formtastic_rebootstrap-0.0.2 lib/formtastic_rebootstrap/inputs/file_input.rb
formtastic_rebootstrap-0.0.1 lib/formtastic_rebootstrap/inputs/file_input.rb