Sha256: 458e372dd498aad3e3553239c4af2a7948ebb3085f5c192ef57e1e09f7b8d79a

Contents?: true

Size: 262 Bytes

Versions: 13

Compression:

Stored size: 262 Bytes

Contents

module Trestle
  class Form
    module Fields
      class FileField < Field
        def field
          builder.raw_file_field(name, options)
        end
      end
    end
  end
end

Trestle::Form::Builder.register(:file_field, Trestle::Form::Fields::FileField)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
trestle-0.8.13 lib/trestle/form/fields/file_field.rb
trestle-0.8.12 lib/trestle/form/fields/file_field.rb
trestle-0.8.11 lib/trestle/form/fields/file_field.rb
trestle-0.8.10 lib/trestle/form/fields/file_field.rb
trestle-0.8.9 lib/trestle/form/fields/file_field.rb
trestle-0.8.8 lib/trestle/form/fields/file_field.rb
trestle-0.8.7 lib/trestle/form/fields/file_field.rb
trestle-0.8.6 lib/trestle/form/fields/file_field.rb
trestle-0.8.5 lib/trestle/form/fields/file_field.rb
trestle-0.8.4 lib/trestle/form/fields/file_field.rb
trestle-0.8.3 lib/trestle/form/fields/file_field.rb
trestle-0.8.2 lib/trestle/form/fields/file_field.rb
trestle-0.8.0 lib/trestle/form/fields/file_field.rb