Sha256: e82d961c921f0fd6c91b43f4e7525b58ed94004ed1ab31ae0aa52ba2ed220b82

Contents?: true

Size: 211 Bytes

Versions: 14

Compression:

Stored size: 211 Bytes

Contents

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

14 entries across 14 versions & 2 rubygems

Version Path
rails-uploader-0.1.0 lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.8 lib/uploader/hooks/formtastic.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.7/lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.7 lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.6 lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.5 lib/uploader/hooks/formtastic.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/lib/uploader/hooks/formtastic.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/lib/uploader/hooks/formtastic.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/lib/uploader/hooks/formtastic.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.4 lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.3 lib/uploader/hooks/formtastic.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/lib/uploader/hooks/formtastic.rb
rails-uploader-0.0.1 lib/uploader/hooks/formtastic.rb