Sha256: 1a532fd7c217ba93210e10d9ef46ae9b06761c90ef05deb1dfe0ff5752acfe92

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 Bytes

Contents

# encoding: utf-8

require 'formtastic'

class UploaderInput
  include ::Formtastic::Inputs::Base

  def to_html
    input_wrapping do
      label_html <<
          builder.uploader_field(method, input_html_options)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glebtv-rails-uploader-0.1.3 lib/uploader/hooks/formtastic.rb
glebtv-rails-uploader-0.1.2 lib/uploader/hooks/formtastic.rb
glebtv-rails-uploader-0.1.1 lib/uploader/hooks/formtastic.rb
glebtv-rails-uploader-0.0.8 lib/uploader/hooks/formtastic.rb